Searched refs:FailurePolicy (Results 1 - 25 of 30) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DExecuteOn.java88 FailurePolicy ifOffline() default FailurePolicy.Warn;
97 FailurePolicy ifFailure() default FailurePolicy.Error;
H A DIfFailure.java62 FailurePolicy value();
H A DFailurePolicy.java51 public enum FailurePolicy { enum
68 public static ActionReport.ExitCode applyFailurePolicy(FailurePolicy f, ActionReport.ExitCode e) {
H A DSupplemental.java174 public FailurePolicy ifFailure() default FailurePolicy.Error;
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DUndoableCommand.java111 @IfFailure(FailurePolicy.Error)
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceCommandExecutor.java66 private FailurePolicy offlinePolicy;
67 private FailurePolicy failPolicy;
74 String name, FailurePolicy fail, FailurePolicy offline, Server server,
120 finalResult = FailurePolicy.applyFailurePolicy(offlinePolicy, ActionReport.ExitCode.FAILURE);
130 finalResult = FailurePolicy.applyFailurePolicy(failPolicy, ActionReport.ExitCode.FAILURE);
H A DClusterOperationUtil.java86 FailurePolicy failPolicy,
87 FailurePolicy offlinePolicy,
116 FailurePolicy failPolicy,
117 FailurePolicy offlinePolicy,
175 ActionReport.ExitCode finalResult = FailurePolicy.applyFailurePolicy(failPolicy,
210 finalResult = FailurePolicy.applyFailurePolicy(failPolicy, ice.getReport().getActionExitCode());
220 finalResult = FailurePolicy.applyFailurePolicy(failPolicy, ActionReport.ExitCode.FAILURE);
240 FailurePolicy failPolicy,
241 FailurePolicy offlinePolicy,
270 FailurePolicy failPolic
[all...]
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DPostDeployCommand.java54 import org.glassfish.api.admin.FailurePolicy;
71 @Supplemental(value="deploy", ifFailure=FailurePolicy.Warn)
109 FailurePolicy.Warn,
110 FailurePolicy.Warn,
H A DValidateRemoteDirDeploymentCommand.java56 import org.glassfish.api.admin.FailurePolicy;
80 @Supplemental(value="deploy", on=Supplemental.Timing.Before, ifFailure=FailurePolicy.Error)
158 FailurePolicy.Error,
159 FailurePolicy.Ignore,
H A DDeleteLifecycleModuleCommand.java60 import org.glassfish.api.admin.FailurePolicy;
135 ClusterOperationUtil.replicateCommand("delete-lifecycle-module", FailurePolicy.Error, FailurePolicy.Warn, targets, context, paramMap, habitat);
H A DDeploymentCommandUtils.java53 import org.glassfish.api.admin.FailurePolicy;
103 FailurePolicy.Error,
104 FailurePolicy.Warn,
H A DEnableCommand.java51 import org.glassfish.api.admin.FailurePolicy;
167 ClusterOperationUtil.replicateCommand("enable", FailurePolicy.Error, FailurePolicy.Warn, targets, context, paramMap, habitat);
H A DCreateApplicationRefCommand.java91 import org.glassfish.api.admin.FailurePolicy;
338 FailurePolicy.Error,
339 FailurePolicy.Warn,
395 ClusterOperationUtil.replicateCommand("_lifecycle", FailurePolicy.Error, FailurePolicy.Warn, targets, context, paramMap, habitat);
H A DDisableCommand.java47 import org.glassfish.api.admin.FailurePolicy;
191 ClusterOperationUtil.replicateCommand("disable", FailurePolicy.Error, FailurePolicy.Warn, targets, context, paramMap, habitat);
H A DUndeployCommand.java64 import org.glassfish.api.admin.FailurePolicy;
313 ClusterOperationUtil.replicateCommand("undeploy", FailurePolicy.Error, FailurePolicy.Warn, targets, context, parameters, habitat);
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DPostRegisterInstanceCommand.java59 import org.glassfish.api.admin.FailurePolicy;
74 @Supplemental(value="_register-instance", ifFailure=FailurePolicy.Warn)
107 FailurePolicy.Warn,
108 FailurePolicy.Warn,
H A DPostUnregisterInstanceCommand.java56 import org.glassfish.api.admin.FailurePolicy;
71 @Supplemental(value="_unregister-instance", ifFailure=FailurePolicy.Warn)
104 FailurePolicy.Warn,
105 FailurePolicy.Warn,
H A DSupplementalCommandExecutorImpl.java108 ActionReport.ExitCode result = FailurePolicy.applyFailurePolicy(aCmd.onFailure(),
120 result = FailurePolicy.applyFailurePolicy(aCmd.onFailure(), ActionReport.ExitCode.FAILURE);
122 result = FailurePolicy.applyFailurePolicy(aCmd.onFailure(), ActionReport.ExitCode.WARNING);
193 private FailurePolicy failurePolicy;
196 public SupplementalCommand(AdminCommand cmd, Supplemental.Timing time, FailurePolicy onFail) {
241 public FailurePolicy onFailure() {
H A DGlassFishClusterExecutor.java203 return(ClusterOperationUtil.replicateCommand(commandName, (clAnnotation == null) ? FailurePolicy.Error : clAnnotation.ifFailure(),
204 (clAnnotation == null) ? FailurePolicy.Warn : clAnnotation.ifOffline(),
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/
H A DRotateLog.java60 @ExecuteOn(value={RuntimeType.INSTANCE},ifOffline=FailurePolicy.Error)
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DListCommand.java161 ClusterOperationUtil.replicateCommand("list", FailurePolicy.Error, FailurePolicy.Warn, targetList,
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/admin/
H A DGMSAnnounceAfterStopClusterCommand.java63 @Supplemental(value = "stop-cluster", on = Supplemental.Timing.After, ifFailure = FailurePolicy.Warn)
H A DGMSAnnounceAfterStartClusterCommand.java64 @Supplemental(value = "start-cluster", on = Supplemental.Timing.After, ifFailure = FailurePolicy.Warn)
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/admin/cli/
H A DMigrateTimers.java60 import org.glassfish.api.admin.FailurePolicy;
130 FailurePolicy.Error, FailurePolicy.Error,
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/
H A DInstanceInfo.java54 import org.glassfish.api.admin.FailurePolicy;
271 new InstanceCommandExecutor(habitat, "__locations", FailurePolicy.Error, FailurePolicy.Error,

Completed in 53 milliseconds

12