Skip to content

Commit

Permalink
DROOLS-1270 - support fact handle operations for REST APIs on kie ser…
Browse files Browse the repository at this point in the history
…ver (apache#170)
  • Loading branch information
mswiderski authored and mariofusco committed Sep 8, 2016
1 parent 6437d1a commit 5d9d501
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
20 changes: 20 additions & 0 deletions kie-api/src/build/revapi-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,26 @@
"code": "java.method.addedToInterface",
"new": "method void org.kie.api.runtime.rule.EntryPoint::update(org.kie.api.runtime.rule.FactHandle, java.lang.Object, java.lang.String[])",
"justification": "allow to specify the set of properties that have been modified by this update"
},
{
"code": "java.method.addedToInterface",
"new": "method org.kie.api.command.Command org.kie.api.command.KieCommands::newGetFactHandles()",
"justification": "allow to build new GetFactHandlesCommand"
},
{
"code": "java.method.addedToInterface",
"new": "method org.kie.api.command.Command org.kie.api.command.KieCommands::newGetFactHandles(java.lang.String)",
"justification": "allow to build new GetFactHandlesCommand with given out identifier"
},
{
"code": "java.method.addedToInterface",
"new": "method org.kie.api.command.Command org.kie.api.command.KieCommands::newGetFactHandles(org.kie.api.runtime.ObjectFilter)",
"justification": "allow to build new GetFactHandlesCommand with given ObjectFilter"
},
{
"code": "java.method.addedToInterface",
"new": "method org.kie.api.command.Command org.kie.api.command.KieCommands::newGetFactHandles(org.kie.api.runtime.ObjectFilter, java.lang.String)",
"justification": "allow to build new GetFactHandlesCommand with given ObjectFilter and out identifier"
}
]
}
Expand Down
8 changes: 8 additions & 0 deletions kie-api/src/main/java/org/kie/api/command/KieCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,13 @@ Command newCompleteWorkItem(long workItemId,
Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm, boolean disconnected);

Command newAgendaGroupSetFocus(String name);

Command newGetFactHandles();

Command newGetFactHandles(String outIdentifier);

Command newGetFactHandles(ObjectFilter filter);

Command newGetFactHandles(ObjectFilter filter, String outIdentifier);

}

0 comments on commit 5d9d501

Please sign in to comment.