public class AmbariActionExecutionHelper extends Object
| Constructor and Description |
|---|
AmbariActionExecutionHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExecutionCommandsToStage(ActionExecutionContext actionContext,
Stage stage,
Map<String,String> hostLevelParams)
Add tasks to the stage based on the requested action execution
|
void |
validateAction(ExecuteActionRequest actionRequest)
Validates the request to execute an action.
|
public void validateAction(ExecuteActionRequest actionRequest) throws AmbariException
actionRequest - AmbariExceptionpublic void addExecutionCommandsToStage(ActionExecutionContext actionContext, Stage stage, Map<String,String> hostLevelParams) throws AmbariException
actionContext - the context associated with the actionstage - stage into which tasks must be insertedhostLevelParams - host level params to send with the commandAmbariExceptionCopyright © 2016. All rights reserved.