[jira] [Commented] (GEODE-2217) Add generic type parameter to FunctionContext interface
[ https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15967911#comment-15967911 ] ASF subversion and git services commented on GEODE-2217: Commit bc2218409cfe2693e3bb886ee1660c7ab4748323 in geode's branch refs/heads/feature/GEODE-2632 from [~dalyssakim] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=bc22184 ] GEODE-2217: Add generic type parameter to FunctionContext interface * This closes #447 > Add generic type parameter to FunctionContext interface > --- > > Key: GEODE-2217 > URL: https://issues.apache.org/jira/browse/GEODE-2217 > Project: Geode > Issue Type: Bug > Components: functions >Reporter: Jared Stewart >Assignee: Alyssa Kim > > FunctionContext has a method getArguments() that returns Object. It would be > nice to have getArguments return a known type instead. > ``` > public interface FunctionContext { > public T getArguments(); > } > ``` > The Function interface would then allow users to bound the expected argument > type: > ``` > public interface Function { > public void execute(FunctionContext context); > } > ``` -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (GEODE-2217) Add generic type parameter to FunctionContext interface
[ https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15966360#comment-15966360 ] ASF subversion and git services commented on GEODE-2217: Commit bc2218409cfe2693e3bb886ee1660c7ab4748323 in geode's branch refs/heads/develop from [~dalyssakim] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=bc22184 ] GEODE-2217: Add generic type parameter to FunctionContext interface * This closes #447 > Add generic type parameter to FunctionContext interface > --- > > Key: GEODE-2217 > URL: https://issues.apache.org/jira/browse/GEODE-2217 > Project: Geode > Issue Type: Bug > Components: functions >Reporter: Jared Stewart >Assignee: Alyssa Kim > > FunctionContext has a method getArguments() that returns Object. It would be > nice to have getArguments return a known type instead. > ``` > public interface FunctionContext { > public T getArguments(); > } > ``` > The Function interface would then allow users to bound the expected argument > type: > ``` > public interface Function { > public void execute(FunctionContext context); > } > ``` -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (GEODE-2217) Add generic type parameter to FunctionContext interface
[ https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15966361#comment-15966361 ] ASF GitHub Bot commented on GEODE-2217: --- Github user asfgit closed the pull request at: https://github.com/apache/geode/pull/447 > Add generic type parameter to FunctionContext interface > --- > > Key: GEODE-2217 > URL: https://issues.apache.org/jira/browse/GEODE-2217 > Project: Geode > Issue Type: Bug > Components: functions >Reporter: Jared Stewart >Assignee: Alyssa Kim > > FunctionContext has a method getArguments() that returns Object. It would be > nice to have getArguments return a known type instead. > ``` > public interface FunctionContext { > public T getArguments(); > } > ``` > The Function interface would then allow users to bound the expected argument > type: > ``` > public interface Function { > public void execute(FunctionContext context); > } > ``` -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (GEODE-2217) Add generic type parameter to FunctionContext interface
[ https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15963756#comment-15963756 ] ASF GitHub Bot commented on GEODE-2217: --- GitHub user dalyssakim opened a pull request: https://github.com/apache/geode/pull/447 Feature/geode 2217 JIRA : https://issues.apache.org/jira/browse/GEODE-2217 Let me know if we want to change the parameter descriptions. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dalyssakim/incubator-geode feature/GEODE-2217 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/geode/pull/447.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #447 commit d3c6b339af85d4be78f53bc092049f7849350835 Author: Alyssa KimDate: 2017-04-11T03:14:12Z GEODE=2217 Add generic type parameter to FunctionContext interface commit d9cd09f9a983c1c820be13fbee271c2baaa9cf11 Author: Alyssa Kim Date: 2017-04-11T03:27:07Z GEODE-2217 Add generic type parameter to FunctionContext interface Minor change in comments commit a3ef95d4a6b0fffa775cf9469e5c4e79eec89b77 Author: Alyssa Kim Date: 2017-04-11T03:31:23Z GEODE-2217 Add generic type parameter to FunctionContext interface Minor change in comments. > Add generic type parameter to FunctionContext interface > --- > > Key: GEODE-2217 > URL: https://issues.apache.org/jira/browse/GEODE-2217 > Project: Geode > Issue Type: Bug > Components: functions >Reporter: Jared Stewart >Assignee: Alyssa Kim > > FunctionContext has a method getArguments() that returns Object. It would be > nice to have getArguments return a known type instead. > ``` > public interface FunctionContext { > public T getArguments(); > } > ``` > The Function interface would then allow users to bound the expected argument > type: > ``` > public interface Function { > public void execute(FunctionContext context); > } > ``` -- This message was sent by Atlassian JIRA (v6.3.15#6346)