| java.lang.Object org.netbeans.modules.sun.manager.jbi.management.JBIMBeanTaskResultHandler
JBIMBeanTaskResultHandler | public class JBIMBeanTaskResultHandler (Code) | | author: jqian |
Method Summary | |
public static Document | getDocument(File xmlFile) | public static Object[] | getProcessResult(String actionName, String target, String result, boolean html) Parameters: actionName - remote action name Parameters: target - action target (JBI component name,service assembly name, or the artifact) Parameters: result - remote invocation result Parameters: html - true to produce message in HTML;false otherwise. | static List<TaskResult> | getTaskResultErrors(Document document, boolean framework) | static List<TaskResult> | getTaskResultExceptions(Document document, boolean framework) | static List<TaskResult> | getTaskResultInfos(Document document, boolean framework) | static List<TaskResult> | getTaskResultProblems(Document document, boolean framework) | static List<TaskResult> | getTaskResultWarnings(Document document, boolean framework) | public static boolean | isFrameworkTaskResultSuccessful(Document document) | public static boolean | showRemoteInvokationResult(String actionName, String target, String result) |
getProcessResult | public static Object[] getProcessResult(String actionName, String target, String result, boolean html)(Code) | | Parameters: actionName - remote action name Parameters: target - action target (JBI component name,service assembly name, or the artifact) Parameters: result - remote invocation result Parameters: html - true to produce message in HTML;false otherwise. a two-object array; the first one (String) being the error message if there is a failure or partial success, it would be null if it is a complete success; the second one (Boolean) indicate whether it is a partial success. |
getTaskResultErrors | static List<TaskResult> getTaskResultErrors(Document document, boolean framework)(Code) | | |
getTaskResultExceptions | static List<TaskResult> getTaskResultExceptions(Document document, boolean framework)(Code) | | |
getTaskResultInfos | static List<TaskResult> getTaskResultInfos(Document document, boolean framework)(Code) | | |
getTaskResultProblems | static List<TaskResult> getTaskResultProblems(Document document, boolean framework)(Code) | | |
getTaskResultWarnings | static List<TaskResult> getTaskResultWarnings(Document document, boolean framework)(Code) | | |
isFrameworkTaskResultSuccessful | public static boolean isFrameworkTaskResultSuccessful(Document document)(Code) | | |
showRemoteInvokationResult | public static boolean showRemoteInvokationResult(String actionName, String target, String result)(Code) | | Parameters: actionName - remote action name Parameters: target - action target (JBI component name,service assembly name, or the artifact) Parameters: result - remote invocation result true if the action is a complete success; false if it is a failure or a partial success. |
|
|