[
https://jira.jboss.org/jira/browse/JOPR-47?page=com.atlassian.jira.plugin...
]
John Mazzitelli commented on JOPR-47:
-------------------------------------
OperationsResults should add a new "isSuccessful()" method that returns true or
false. "setSuccessful(boolean)" will allow the plugin developer to tell the
server if this operation failed or succeeded.
The PC now needs to examine isSuccessful() to determine if it needs to call
operationSuccess or operationFailure on the server service (the PC's exception
handling can remain the same).
The server service impl needs to add a new Configuration results parameter to its
operationFailure() method. *This can be null* - if its null, it should be ignored by the
server-service impl on the server (this will be null when the failure was detected via an
exception being thrown by the plugin or PC).
capture the return code from scripts and mark the operation status
appropriately
--------------------------------------------------------------------------------
Key: JOPR-47
URL:
https://jira.jboss.org/jira/browse/JOPR-47
Project: Jopr
Issue Type: Feature Request
Components: Plugin - JBoss AS 4, Plugin - JBoss AS 5
Affects Versions: 2.1
Reporter: Joseph Marques
Assignee: Joseph Marques
Fix For: 2.2
presently, there is no way for a script execution to fail based on the return code. we
should capture this and mark the operation as either a success or failure as appropriate.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira