Class RemoveTriggersRateErrorsAction
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.actions.RemoveTriggersRateErrorsAction
-
- All Implemented Interfaces:
ControllerAction
public class RemoveTriggersRateErrorsAction extends Object implements ControllerAction
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_TYPE_PARAM_NAME
static String
BUILD_TYPE_INTERNAL_ID_PARAM
static String
REMOVE_BUILDS_ACTION
static String
REMOVE_ERRORS_ACTION
static String
TRIGGER_ID_PARAM
-
Constructor Summary
Constructors Constructor Description RemoveTriggersRateErrorsAction(TriggeredBuildsRateMonitor triggeredBuildsRateMonitor, AdminActionsController adminActions, GlobalHealthItemsTracker globalHealthItemsTracker, TriggeredBuildsRemover triggeredBuildsRemover)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canProcess(javax.servlet.http.HttpServletRequest request)
Returns true if specified request can be processed by this action.void
process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.jdom.Element ajaxResponse)
Run this action.
-
-
-
Field Detail
-
ACTION_TYPE_PARAM_NAME
public static final String ACTION_TYPE_PARAM_NAME
- See Also:
- Constant Field Values
-
REMOVE_BUILDS_ACTION
public static final String REMOVE_BUILDS_ACTION
- See Also:
- Constant Field Values
-
REMOVE_ERRORS_ACTION
public static final String REMOVE_ERRORS_ACTION
- See Also:
- Constant Field Values
-
TRIGGER_ID_PARAM
public static final String TRIGGER_ID_PARAM
- See Also:
- Constant Field Values
-
BUILD_TYPE_INTERNAL_ID_PARAM
public static final String BUILD_TYPE_INTERNAL_ID_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoveTriggersRateErrorsAction
public RemoveTriggersRateErrorsAction(TriggeredBuildsRateMonitor triggeredBuildsRateMonitor, AdminActionsController adminActions, GlobalHealthItemsTracker globalHealthItemsTracker, TriggeredBuildsRemover triggeredBuildsRemover)
-
-
Method Detail
-
canProcess
public boolean canProcess(@NotNull javax.servlet.http.HttpServletRequest request)
Description copied from interface:ControllerAction
Returns true if specified request can be processed by this action.- Specified by:
canProcess
in interfaceControllerAction
- Parameters:
request
- request- Returns:
- true, if this action can process given request
-
process
public void process(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response, @Nullable org.jdom.Element ajaxResponse)
Description copied from interface:ControllerAction
Run this action.- Specified by:
process
in interfaceControllerAction
- Parameters:
request
- requestresponse
- responseajaxResponse
- response if action is called by an AJAX request
-
-