Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Operation Succeed Check #32

Closed
ferhatsb opened this issue Mar 11, 2013 · 1 comment
Closed

Operation Succeed Check #32

ferhatsb opened this issue Mar 11, 2013 · 1 comment
Assignees

Comments

@ferhatsb
Copy link
Member

Need to improve isOperationSucceed check, all requests should implement their own.

@ghost ghost assigned ferhatsb Mar 11, 2013
@ferhatsb
Copy link
Member Author

All Actions now should define their own success checker for instance;

@OverRide
public Boolean isOperationSucceed(Map result) {
return (Boolean) result.get("ok");
}

How is a get operation checks result if it is success nor not.

Default implementation returns true for all actions, override requires for custom behavior.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant