falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-281) Design Action Interface
Date Tue, 28 Jan 2014 13:26:38 GMT

    [ 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 1:26 PM:
-------------------------------------------------------------

+1


was (Author: shwethags):
{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

> 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)

Mime
View raw message