1 17 package org.alfresco.repo.action; 18 19 import org.alfresco.service.cmr.action.Action; 20 import org.alfresco.service.cmr.action.ActionExecutionDetails; 21 import org.alfresco.service.cmr.action.ActionExecutionStatus; 22 23 28 public class ActionExecutionDetailsImpl implements ActionExecutionDetails 29 { 30 33 private String title; 34 35 38 private String description; 39 40 43 private Action action; 44 45 48 private ActionExecutionStatus executionStatus = ActionExecutionStatus.PENDING; 49 50 53 private boolean compensatingActionExecuted = false; 54 55 58 private String errorMessage; 59 60 63 private String errorDetails; 64 65 68 public String getTitle() 69 { 70 return this.title; 71 } 72 73 78 public void setTitle(String title) 79 { 80 this.title = title; 81 } 82 83 86 public String getDescription() 87 { 88 return this.description; 89 } 90 91 96 public void setDescription(String description) 97 { 98 this.description = description; 99 } 100 101 104 public Action getAction() 105 { 106 return this.action; 107 } 108 109 114 public void setAction(Action action) 115 { 116 this.action = action; 117 } 118 119 122 public ActionExecutionStatus getExecutionStatus() 123 { 124 return this.executionStatus; 125 } 126 127 132 public void setExecutionStatus(ActionExecutionStatus executionStatus) 133 { 134 this.executionStatus = executionStatus; 135 } 136 137 140 public boolean getCompensatingActionExecuted() 141 { 142 return this.compensatingActionExecuted; 143 } 144 145 150 public void setCompensatingActionExecuted(boolean compensatingActionExecuted) 151 { 152 this.compensatingActionExecuted = compensatingActionExecuted; 153 } 154 155 158 public String getErrorMessage() 159 { 160 return this.errorMessage; 161 } 162 163 168 public void setErrorMessage(String errorMessage) 169 { 170 this.errorMessage = errorMessage; 171 } 172 173 176 public String getErrorDetails() 177 { 178 return this.errorDetails; 179 } 180 181 186 public void setErrorDetails(String errorDetails) 187 { 188 this.errorDetails = errorDetails; 189 } 190 } 191 | Popular Tags |