You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by pa...@apache.org on 2019/03/20 14:33:35 UTC
svn commit: r1855910 - /turbine/fulcrum/trunk/intake/xdocs/howto.xml
Author: painter
Date: Wed Mar 20 14:33:35 2019
New Revision: 1855910
URL: http://svn.apache.org/viewvc?rev=1855910&view=rev
Log:
Update howto docs to reflect PipelineData
Modified:
turbine/fulcrum/trunk/intake/xdocs/howto.xml
Modified: turbine/fulcrum/trunk/intake/xdocs/howto.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/intake/xdocs/howto.xml?rev=1855910&r1=1855909&r2=1855910&view=diff
==============================================================================
--- turbine/fulcrum/trunk/intake/xdocs/howto.xml (original)
+++ turbine/fulcrum/trunk/intake/xdocs/howto.xml Wed Mar 20 14:33:35 2019
@@ -22,6 +22,7 @@
<properties>
<title>Fulcrum Intake Service</title>
+ <author email="jeff@jivecast.com">Jeffery Painter</author>
<author email="jmcnally@collab.net">John McNally</author>
<author email="jon@latchkey.com">Jon S. Stevens</author>
<author email="epugh@upstate.com">Eric Pugh</author>
@@ -415,8 +416,11 @@ The Java Action code which handles the s
</p>
<source><![CDATA[
-public void doLogin( RunData data, Context context ) throws Exception
+public void doLogin( PipelineData pipelineData, Context context ) throws Exception
{
+ // get a reference to the run data object
+ RunData data = (RunData) pipelineData;
+
IntakeTool intake = (IntakeTool) context.get("intake");
if ( intake.isAllValid() && checkUser(data, context) )
@@ -593,7 +597,7 @@ button), the following code in the Enter
</p>
<source><![CDATA[
-public void doEnter( RunData data, Context context ) throws Exception
+public void doEnter( PipelineData pipelineData, Context context ) throws Exception
{
IntakeTool intake = (IntakeTool)context
.get(ScarabConstants.INTAKE_TOOL);
@@ -719,9 +723,12 @@ The action:
</p>
<source>
-public void doEnterissue( RunData data, Context context )
- throws Exception
+public void doEnterissue( PipelineData pipelineData, Context context )
+ throws Exception
{
+ // get a reference to the run data object
+ RunData data = (RunData) pipelineData;
+
IntakeTool intake = (IntakeTool)context
.get(ScarabConstants.INTAKE_TOOL);