338 lines
16 KiB
HTML
338 lines
16 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- **************************************************************** -->
|
|
<!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
|
|
<!-- * i.e. only iterate & print data where possible. Thanks, Jez. * -->
|
|
<!-- **************************************************************** -->
|
|
|
|
<html>
|
|
<head>
|
|
<!-- Generated by groovydoc (2.4.0) on Sat May 02 07:57:03 PDT 2015 -->
|
|
<title>DeployDBApp (deploydb 0.2.2 API)</title>
|
|
<meta name="date" content="2015-05-02">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
|
|
<link href="../groovy.ico" type="image/x-icon" rel="icon">
|
|
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
|
|
|
<body class="center">
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="DeployDBApp (deploydb 0.2.2 API)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../index-all.html">Index</a></li>
|
|
<li><a href="../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?deploydb/DeployDBApp" target="_top">Frames</a></li>
|
|
<li><a href="DeployDBApp.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
Nested Field Constructor <li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li> | Detail: </li>
|
|
Field Constructor <li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
|
|
<div class="subTitle">Package: <strong>deploydb</strong></div>
|
|
|
|
<h2 title="[Groovy] Class DeployDBApp" class="title">[Groovy] Class DeployDBApp</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li>deploydb.DeployDBApp
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== NESTED CLASS SUMMARY =========== -->
|
|
|
|
|
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
|
<!-- =========== PROPERTY SUMMARY =========== -->
|
|
|
|
|
|
<!-- =========== ELEMENT SUMMARY =========== -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
|
|
<li class="blockList"><a name="method_summary"><!-- --></a>
|
|
<h3>Methods Summary</h3>
|
|
<ul class="blockList">
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Type</th>
|
|
<th class="colLast" scope="col">Name and description</th>
|
|
</tr>
|
|
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#getName()">getName</a></strong>()</code><br></td>
|
|
</tr>
|
|
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>org.hibernate.SessionFactory</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#getSessionFactory()">getSessionFactory</a></strong>()</code><br>Return the current org.hibernate.SessionFactory</td>
|
|
</tr>
|
|
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#initialize(Bootstrap<DeployDBConfiguration>)">initialize</a></strong>(io.dropwizard.setup.Bootstrap<<a href='../deploydb/DeployDBConfiguration.html' title='DeployDBConfiguration'>DeployDBConfiguration</a>> bootstrap)</code><br></td>
|
|
</tr>
|
|
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#loadModelConfiguration()">loadModelConfiguration</a></strong>()</code><br>This function will load configuration with hibernate session.</td>
|
|
</tr>
|
|
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#main(java.lang.String)">main</a></strong>(java.lang.String[] args)</code><br></td>
|
|
</tr>
|
|
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#run(java.lang.String)">run</a></strong>(java.lang.String... arguments)</code><br>Validate the arguments</td>
|
|
</tr>
|
|
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#run(deploydb.DeployDBConfiguration, deploydb.models.Environment)">run</a></strong>(<a href='../deploydb/DeployDBConfiguration.html'>DeployDBConfiguration</a> deployDBConfiguration, <a href='../deploydb/models/Environment.html'>Environment</a> environment)</code><br>DeployDB is up and running</td>
|
|
</tr>
|
|
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</strong></code></td>
|
|
<td class="colLast"><code><strong><a href="#withHibernateSession(groovy.lang.Closure)">withHibernateSession</a></strong>(groovy.lang.Closure c)</code><br>Initialize the workflow object</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="blockList"><a name="method_summary"><!-- --></a>
|
|
<h3>Inherited Methods Summary</h3>
|
|
<ul class="blockList">
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
|
|
<caption><span>Inherited Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Methods inherited from class</th>
|
|
<th class="colLast" scope="col">Name</th>
|
|
</tr>
|
|
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class io.dropwizard.Application</strong></code></td>
|
|
<td class="colLast"><code>io.dropwizard.Application#getConfigurationClass(), io.dropwizard.Application#run([Ljava.lang.String;), io.dropwizard.Application#run(io.dropwizard.Configuration, io.dropwizard.setup.Environment), io.dropwizard.Application#getName(), io.dropwizard.Application#initialize(io.dropwizard.setup.Bootstrap), io.dropwizard.Application#wait(long, int), io.dropwizard.Application#wait(long), io.dropwizard.Application#wait(), io.dropwizard.Application#equals(java.lang.Object), io.dropwizard.Application#toString(), io.dropwizard.Application#hashCode(), io.dropwizard.Application#getClass(), io.dropwizard.Application#notify(), io.dropwizard.Application#notifyAll()</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class java.lang.Object</strong></code></td>
|
|
<td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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()</code></td>
|
|
</tr>
|
|
</table>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- =========== METHOD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
|
|
<a name="getName()"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>@java.lang.Override
|
|
java.lang.String <strong>getName</strong>()</h4>
|
|
<p></p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="getSessionFactory()"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>org.hibernate.SessionFactory <strong>getSessionFactory</strong>()</h4>
|
|
<p> Return the current org.hibernate.SessionFactory
|
|
|
|
This is really only ever intended to be used in integration tests as a
|
|
means of getting a hold of the same SessionFactory that Resources will
|
|
be using
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="initialize(Bootstrap<DeployDBConfiguration>)"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>@java.lang.Override
|
|
void <strong>initialize</strong>(io.dropwizard.setup.Bootstrap<<a href='../deploydb/DeployDBConfiguration.html' title='DeployDBConfiguration'>DeployDBConfiguration</a>> bootstrap)</h4>
|
|
<p></p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="loadModelConfiguration()"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>void <strong>loadModelConfiguration</strong>()</h4>
|
|
<p> This function will load configuration with hibernate session.
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="main(java.lang.String)"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>static void <strong>main</strong>(java.lang.String[] args)</h4>
|
|
<p></p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="run(java.lang.String)"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>@java.lang.Override
|
|
void <strong>run</strong>(java.lang.String... arguments)</h4>
|
|
<p> Validate the arguments </p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="run(deploydb.DeployDBConfiguration, deploydb.models.Environment)"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>@java.lang.Override
|
|
void <strong>run</strong>(<a href='../deploydb/DeployDBConfiguration.html'>DeployDBConfiguration</a> deployDBConfiguration, <a href='../deploydb/models/Environment.html'>Environment</a> environment)</h4>
|
|
<p> DeployDB is up and running </p>
|
|
</li>
|
|
</ul>
|
|
|
|
<a name="withHibernateSession(groovy.lang.Closure)"><!-- --></a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>void <strong>withHibernateSession</strong>(groovy.lang.Closure c)</h4>
|
|
<p> Initialize the workflow object
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../index-all.html">Index</a></li>
|
|
<li><a href="../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?deploydb/DeployDBApp" target="_top">Frames</a></li>
|
|
<li><a href="DeployDBApp.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
Nested Field Constructor <li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li> | Detail: </li>
|
|
Field Constructor <li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<p>Groovy Documentation</p>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|