Searched refs:ActionReport (Results 1 - 25 of 406) sorted by relevance

1234567891011>>

/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/admin/
H A DCommandExecution.java43 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 DFailurePolicy.java43 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 DAdminCommandContext.java44 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 DClusterExecutor.java43 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 DCommandRunner.java43 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 DMonitorContract.java43 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 DPlainTextActionReporterTest.java48 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 DCommandRunnable.java45 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 DUndoableCommand.java44 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 DAnotherPublicMethod.java46 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 DGetActivationSpecClass.java44 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 DGetAdminObjectInterfaceNames.java44 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 DGetBuiltInCustomResources.java44 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 DGetConnectionDefinitionNames.java44 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 DGetConnectionDefinitionPropertiesAndDefaults.java44 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 DGetMCFConfigProperties.java44 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 DGetMessageListenerConfigProperties.java44 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 DGetMessageListenerConfigPropertyTypes.java44 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 DGetMessageListenerTypes.java44 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 DGetResourceAdapterConfigProperties.java44 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 DGetSystemRarsAllowingPoolCreation.java44 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 DConnectionPoolUtil.java45 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 DClusterOperationUtil.java52 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 DPredefinedAuthRealmClassNamesCommand.java44 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 DGetDatabaseVendorNames.java44 import org.glassfish.api.ActionReport;
73 final ActionReport report = context.getActionReport();
82 report.setActionExitCode(ActionReport.ExitCode.FAILURE);
87 ActionReport.ExitCode ec = ActionReport.ExitCode.SUCCESS;

Completed in 1206 milliseconds

1234567891011>>