blob: 784805ac240d55cc10bb8a30001ddbefb9f3ce4d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_40) on Thu Jul 20 13:18:20 PDT 2017 -->
<title>JobExecutionState (gobblin-runtime 0.11.0 API)</title>
<meta name="date" content="2017-07-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JobExecutionState (gobblin-runtime 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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="package-tree.html">Tree</a></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">
<ul class="navList">
<li><a href="../../../gobblin/runtime/api/JobExecutionResult.html" title="class in gobblin.runtime.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/runtime/api/JobExecutionStateListener.html" title="interface in gobblin.runtime.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/runtime/api/JobExecutionState.html" target="_top">Frames</a></li>
<li><a href="JobExecutionState.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<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">gobblin.runtime.api</div>
<h2 title="Class JobExecutionState" class="title">Class JobExecutionState</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>gobblin.runtime.api.JobExecutionState</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../gobblin/runtime/api/JobExecutionStatus.html" title="interface in gobblin.runtime.api">JobExecutionStatus</a></dd>
</dl>
<hr>
<br>
<pre><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/annotation/Alpha.html?is-external=true" title="class or interface in gobblin.annotation">@Alpha</a>
public class <span class="typeNameLabel">JobExecutionState</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../gobblin/runtime/api/JobExecutionStatus.html" title="interface in gobblin.runtime.api">JobExecutionStatus</a></pre>
<div class="block">TODO</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base">Predicate</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionState.html" title="class in gobblin.runtime.api">JobExecutionState</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#EXECUTION_DONE_PREDICATE">EXECUTION_DONE_PREDICATE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#UKNOWN_STAGE">UKNOWN_STAGE</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#JobExecutionState-gobblin.runtime.api.JobSpec-gobblin.runtime.api.JobExecution-com.google.common.base.Optional-">JobExecutionState</a></span>(<a href="../../../gobblin/runtime/api/JobSpec.html" title="class in gobblin.runtime.api">JobSpec</a>&nbsp;jobSpec,
<a href="../../../gobblin/runtime/api/JobExecution.html" title="interface in gobblin.runtime.api">JobExecution</a>&nbsp;jobExecution,
<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Optional.html?is-external=true" title="class or interface in com.google.common.base">Optional</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionStateListener.html" title="interface in gobblin.runtime.api">JobExecutionStateListener</a>&gt;&nbsp;listener)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#awaitForDone-long-">awaitForDone</a></span>(long&nbsp;timeoutMs)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#awaitForState-gobblin.runtime.JobState.RunningState-long-">awaitForState</a></span>(<a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a>&nbsp;targetState,
long&nbsp;timeoutMs)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#awaitForStatePredicate-com.google.common.base.Predicate-long-">awaitForStatePredicate</a></span>(<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base">Predicate</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionState.html" title="class in gobblin.runtime.api">JobExecutionState</a>&gt;&nbsp;predicate,
long&nbsp;timeoutMs)</code>
<div class="block">Waits till a predicate on <a href="../../../gobblin/runtime/api/JobExecutionState.html#getRunningState--"><code>getRunningState()</code></a> becomes true or timeout is reached.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#getExecutionMetadata--">getExecutionMetadata</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#getRunningState--">getRunningState</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#getStage--">getStage</a></span>()</code>
<div class="block">Arbitrary execution stage, e.g.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#setMedatata-java.lang.String-java.lang.Object-">setMedatata</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#setRunningState-gobblin.runtime.JobState.RunningState-">setRunningState</a></span>(<a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a>&nbsp;runningState)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#setStage-java.lang.String-">setStage</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newStage)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToCancelled--">switchToCancelled</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToCommitted--">switchToCommitted</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToFailed--">switchToFailed</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToPending--">switchToPending</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToRunning--">switchToRunning</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#switchToSuccessful--">switchToSuccessful</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/JobExecutionState.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.runtime.api.JobExecutionStatus">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;gobblin.runtime.api.<a href="../../../gobblin/runtime/api/JobExecutionStatus.html" title="interface in gobblin.runtime.api">JobExecutionStatus</a></h3>
<code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html#getJobExecution--">getJobExecution</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="UKNOWN_STAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UKNOWN_STAGE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> UKNOWN_STAGE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.runtime.api.JobExecutionState.UKNOWN_STAGE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="EXECUTION_DONE_PREDICATE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EXECUTION_DONE_PREDICATE</h4>
<pre>public static final&nbsp;<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base">Predicate</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionState.html" title="class in gobblin.runtime.api">JobExecutionState</a>&gt; EXECUTION_DONE_PREDICATE</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JobExecutionState-gobblin.runtime.api.JobSpec-gobblin.runtime.api.JobExecution-com.google.common.base.Optional-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JobExecutionState</h4>
<pre>public&nbsp;JobExecutionState(<a href="../../../gobblin/runtime/api/JobSpec.html" title="class in gobblin.runtime.api">JobSpec</a>&nbsp;jobSpec,
<a href="../../../gobblin/runtime/api/JobExecution.html" title="interface in gobblin.runtime.api">JobExecution</a>&nbsp;jobExecution,
<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Optional.html?is-external=true" title="class or interface in com.google.common.base">Optional</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionStateListener.html" title="interface in gobblin.runtime.api">JobExecutionStateListener</a>&gt;&nbsp;listener)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getExecutionMetadata--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutionMetadata</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getExecutionMetadata()</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="getRunningState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRunningState</h4>
<pre>public&nbsp;<a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a>&nbsp;getRunningState()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html#getRunningState--">getRunningState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html" title="interface in gobblin.runtime.api">JobExecutionStatus</a></code></dd>
</dl>
</li>
</ul>
<a name="getStage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStage</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getStage()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html#getStage--">JobExecutionStatus</a></code></span></div>
<div class="block">Arbitrary execution stage, e.g. setup, workUnitGeneration, taskExecution, publishing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html#getStage--">getStage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/runtime/api/JobExecutionStatus.html" title="interface in gobblin.runtime.api">JobExecutionStatus</a></code></dd>
</dl>
</li>
</ul>
<a name="setRunningState-gobblin.runtime.JobState.RunningState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRunningState</h4>
<pre>public&nbsp;void&nbsp;setRunningState(<a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a>&nbsp;runningState)</pre>
</li>
</ul>
<a name="switchToPending--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToPending</h4>
<pre>public&nbsp;void&nbsp;switchToPending()</pre>
</li>
</ul>
<a name="switchToRunning--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToRunning</h4>
<pre>public&nbsp;void&nbsp;switchToRunning()</pre>
</li>
</ul>
<a name="switchToSuccessful--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToSuccessful</h4>
<pre>public&nbsp;void&nbsp;switchToSuccessful()</pre>
</li>
</ul>
<a name="switchToFailed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToFailed</h4>
<pre>public&nbsp;void&nbsp;switchToFailed()</pre>
</li>
</ul>
<a name="switchToCommitted--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToCommitted</h4>
<pre>public&nbsp;void&nbsp;switchToCommitted()</pre>
</li>
</ul>
<a name="switchToCancelled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchToCancelled</h4>
<pre>public&nbsp;void&nbsp;switchToCancelled()</pre>
</li>
</ul>
<a name="setStage-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStage</h4>
<pre>public&nbsp;void&nbsp;setStage(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newStage)</pre>
</li>
</ul>
<a name="setMedatata-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMedatata</h4>
<pre>public&nbsp;void&nbsp;setMedatata(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
</li>
</ul>
<a name="awaitForDone-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>awaitForDone</h4>
<pre>public&nbsp;void&nbsp;awaitForDone(long&nbsp;timeoutMs)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd>
</dl>
</li>
</ul>
<a name="awaitForState-gobblin.runtime.JobState.RunningState-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>awaitForState</h4>
<pre>public&nbsp;void&nbsp;awaitForState(<a href="../../../gobblin/runtime/JobState.RunningState.html" title="enum in gobblin.runtime">JobState.RunningState</a>&nbsp;targetState,
long&nbsp;timeoutMs)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd>
</dl>
</li>
</ul>
<a name="awaitForStatePredicate-com.google.common.base.Predicate-long-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>awaitForStatePredicate</h4>
<pre>public&nbsp;void&nbsp;awaitForStatePredicate(<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base">Predicate</a>&lt;<a href="../../../gobblin/runtime/api/JobExecutionState.html" title="class in gobblin.runtime.api">JobExecutionState</a>&gt;&nbsp;predicate,
long&nbsp;timeoutMs)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre>
<div class="block">Waits till a predicate on <a href="../../../gobblin/runtime/api/JobExecutionState.html#getRunningState--"><code>getRunningState()</code></a> becomes true or timeout is reached.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - the predicate to evaluate. Note that even though the predicate
is applied on the entire object, it will be evaluated only when
the running state changes.</dd>
<dd><code>timeoutMs</code> - the number of milliseconds to wait for the predicate to become
true; 0 means wait forever.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code> - if the waiting was interrupted</dd>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code> - if we reached the timeout before the predicate was satisfied.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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="package-tree.html">Tree</a></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">
<ul class="navList">
<li><a href="../../../gobblin/runtime/api/JobExecutionResult.html" title="class in gobblin.runtime.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/runtime/api/JobExecutionStateListener.html" title="interface in gobblin.runtime.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/runtime/api/JobExecutionState.html" target="_top">Frames</a></li>
<li><a href="JobExecutionState.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>