/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/admin/ |
H A D | CommandExecution.java | 43 import org.glassfish.api.ActionReport; 50 ActionReport getActionReport(); 52 ActionReport.ExitCode getExitCode();
|
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/ |
H A D | FailurePolicy.java | 43 import org.glassfish.api.ActionReport; 68 public static ActionReport.ExitCode applyFailurePolicy(FailurePolicy f, ActionReport.ExitCode e) { 69 ActionReport.ExitCode result = ActionReport.ExitCode.FAILURE; 75 result = ActionReport.ExitCode.SUCCESS; 79 if(e.equals(ActionReport.ExitCode.FAILURE)) 80 result = ActionReport.ExitCode.WARNING;
|
H A D | AdminCommandContext.java | 44 import org.glassfish.api.ActionReport; 55 public ActionReport report; 60 public AdminCommandContext(Logger logger, ActionReport report) { 64 public AdminCommandContext(Logger logger, ActionReport report, 75 * @return ActionReport implementation suitable for the client 77 public ActionReport getActionReport() { 82 * @param newReport The ActionReport to set. 84 public void setActionReport(ActionReport newReport) {
|
H A D | ClusterExecutor.java | 43 import org.glassfish.api.ActionReport; 61 * <p>Each remote execution must return a different ActionReport so the user 70 public ActionReport.ExitCode execute(String commandName, AdminCommand command, AdminCommandContext context,
|
H A D | CommandRunner.java | 43 import org.glassfish.api.ActionReport; 59 * Returns an initialized ActionReport instance for the passed type or 65 public ActionReport getActionReport(String name); 85 public AdminCommand getCommand(String commandName, ActionReport report, Logger logger); 95 CommandInvocation getCommandInvocation(String name, ActionReport report);
|
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/admin/monitor/cli/ |
H A D | MonitorContract.java | 43 import org.glassfish.api.ActionReport; 53 public ActionReport process(final ActionReport report, final String filter);
|
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/common/ |
H A D | PlainTextActionReporterTest.java | 48 import org.glassfish.api.ActionReport; 76 ActionReport report = new PlainTextActionReporter(); 78 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 79 ActionReport.MessagePart top = report.getTopMessagePart(); 86 ActionReport report = new PlainTextActionReporter(); 88 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 89 ActionReport.MessagePart top = report.getTopMessagePart(); 96 ActionReport report = new PlainTextActionReporter(); 98 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 99 ActionReport [all...] |
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | CommandRunnable.java | 45 import org.glassfish.api.ActionReport; 51 * to execute as well as a response queue and the ActionReport 54 * in the ActionReport) and then it adds itself to the response queue 55 * where it can be picked up and the ActionReport inspected for the results. 64 ActionReport report = null; 75 * @param report The ActionReport you used with the CommandInvocation 83 public CommandRunnable(CommandInvocation ci, ActionReport report, 127 * Returns the ActionReport that was passed on the constructor. 129 * @return the ActionReport that was passed on the constructor. 131 public ActionReport getActionRepor [all...] |
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/ |
H A D | UndoableCommand.java | 44 import org.glassfish.api.ActionReport; 105 * and the execution of the main command will happen only if the prepare() call returns ActionReport.ExitCode.SUCCESS 112 public ActionReport.ExitCode prepare(AdminCommandContext context, ParameterMap parameters);
|
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/admin/ |
H A D | AnotherPublicMethod.java | 46 import org.glassfish.api.ActionReport; 56 context.getActionReport().setActionExitCode(ActionReport.ExitCode.SUCCESS);
|
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/internal/ |
H A D | GetActivationSpecClass.java | 44 import org.glassfish.api.ActionReport; 74 final ActionReport report = context.getActionReport(); 79 final ActionReport.MessagePart part = report.getTopMessagePart().addChild(); 83 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 88 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetAdminObjectInterfaceNames.java | 44 import org.glassfish.api.ActionReport; 76 final ActionReport report = context.getActionReport(); 88 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 93 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetBuiltInCustomResources.java | 44 import org.glassfish.api.ActionReport; 71 final ActionReport report = context.getActionReport(); 80 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 85 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetConnectionDefinitionNames.java | 44 import org.glassfish.api.ActionReport; 76 final ActionReport report = context.getActionReport(); 88 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 93 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetConnectionDefinitionPropertiesAndDefaults.java | 44 import org.glassfish.api.ActionReport; 79 final ActionReport report = context.getActionReport(); 89 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 94 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetMCFConfigProperties.java | 44 import org.glassfish.api.ActionReport; 79 final ActionReport report = context.getActionReport(); 89 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 94 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetMessageListenerConfigProperties.java | 44 import org.glassfish.api.ActionReport; 77 final ActionReport report = context.getActionReport(); 87 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 92 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetMessageListenerConfigPropertyTypes.java | 44 import org.glassfish.api.ActionReport; 77 final ActionReport report = context.getActionReport(); 87 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 92 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetMessageListenerTypes.java | 44 import org.glassfish.api.ActionReport; 74 final ActionReport report = context.getActionReport(); 86 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 91 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetResourceAdapterConfigProperties.java | 44 import org.glassfish.api.ActionReport; 75 final ActionReport report = context.getActionReport(); 85 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 90 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
H A D | GetSystemRarsAllowingPoolCreation.java | 44 import org.glassfish.api.ActionReport; 72 final ActionReport report = context.getActionReport(); 83 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 88 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ |
H A D | ConnectionPoolUtil.java | 45 import org.glassfish.api.ActionReport; 68 public boolean isValidApplication(String applicationName, String poolName, ActionReport report) { 102 public boolean isValidModule(String applicationName, String moduleName, String poolName, ActionReport report) { 120 public boolean isValidPool(Resources resources, String poolName, String prefix, ActionReport report) { 134 private void setAppNameNeededErrorMessage(ActionReport report) { 138 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 142 private void setAppDisabledErrorMessage(ActionReport report, String applicationName, String poolName) { 147 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 151 private void setApplNotFoundErrorMessage(ActionReport report, String applicationName){ 155 report.setActionExitCode(ActionReport [all...] |
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/ |
H A D | ClusterOperationUtil.java | 52 import org.glassfish.api.ActionReport; 85 public static ActionReport.ExitCode replicateCommand(String commandName, 115 public static ActionReport.ExitCode replicateCommand(String commandName, 124 ActionReport.ExitCode returnValue = ActionReport.ExitCode.SUCCESS; 138 ActionReport aReport = context.getActionReport().addSubActionsReport(); 139 aReport.setActionExitCode(ActionReport.ExitCode.WARNING); 146 returnValue = ActionReport.ExitCode.WARNING; 151 ActionReport aReport = context.getActionReport().addSubActionsReport(); 174 ActionReport aRepor [all...] |
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/cli/ |
H A D | PredefinedAuthRealmClassNamesCommand.java | 44 import org.glassfish.api.ActionReport; 45 import org.glassfish.api.ActionReport.ExitCode; 71 ActionReport report = context.getActionReport(); 73 ActionReport.MessagePart part = report.getTopMessagePart(); 77 ActionReport.MessagePart childPart = part.addChild();
|
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/internal/ |
H A D | GetDatabaseVendorNames.java | 44 import org.glassfish.api.ActionReport; 73 final ActionReport report = context.getActionReport(); 82 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 87 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;
|