You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/01/28 13:48:39 UTC
[jira] [Comment Edited] (FALCON-281) Design Action Interface
[ https://issues.apache.org/jira/browse/FALCON-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884077#comment-13884077 ]
Shwetha G S edited comment on FALCON-281 at 1/28/14 12:48 PM:
--------------------------------------------------------------
{noformat}
+ @Nullable
+ public Map<String, Integer> outputKeys() {
+ if (hasOutput()) {
+ throw new NotImplementedException(getClass() + "::outputKeys()");
+ } else {
+ return null;
+ }
+ }
{noformat}
The condition should be other way around
was (Author: shwethags):
+ @Nullable
+ public Map<String, Integer> outputKeys() {
+ if (hasOutput()) {
+ throw new NotImplementedException(getClass() + "::outputKeys()");
+ } else {
+ return null;
+ }
+ }
The condition should be other way around
> Design Action Interface
> -----------------------
>
> Key: FALCON-281
> URL: https://issues.apache.org/jira/browse/FALCON-281
> Project: Falcon
> Issue Type: Sub-task
> Components: designer
> Affects Versions: 0.5
> Reporter: Srikanth Sundarrajan
> Assignee: Srikanth Sundarrajan
> Labels: designer
> Fix For: 0.5
>
> Attachments: FALCON-281.patch
>
>
> An action is essentially the building block of a flow which has a one to one correspondence with a process definition in falcon. Actions are fairly generic in the sense they don't mandate any inputs and the outputs are optional and fairly generic in nature
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)