public class StackAdvisorRunner extends Object
Constructor and Description |
---|
StackAdvisorRunner() |
Modifier and Type | Method and Description |
---|---|
void |
runScript(ServiceInfo.ServiceAdvisorType serviceAdvisorType,
StackAdvisorCommandType saCommandType,
File actionDirectory)
Runs stack_advisor.py script in the specified
actionDirectory . |
void |
setConfigs(Configuration configs) |
public void runScript(ServiceInfo.ServiceAdvisorType serviceAdvisorType, StackAdvisorCommandType saCommandType, File actionDirectory) throws StackAdvisorException
actionDirectory
.serviceAdvisorType
- PYTHON or JAVAsaCommandType
- StackAdvisorCommandType
to run.actionDirectory
- directory for the actionStackAdvisorException
public void setConfigs(Configuration configs)
Copyright © 2022 Apache Software Foundation. All rights reserved.