public class ActionDefinitionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static Integer |
MIN_TIMEOUT |
| Constructor and Description |
|---|
ActionDefinitionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionDefinition(ActionDefinition ad) |
ActionDefinition |
getActionDefinition(String name) |
List<ActionDefinition> |
getAllActionDefinition() |
void |
readCustomActionDefinitions(File customActionDefinitionRoot) |
static <T> T |
unmarshal(Class<T> clz,
File file) |
public static final Integer MIN_TIMEOUT
public static <T> T unmarshal(Class<T> clz, File file) throws JAXBException
JAXBExceptionpublic void readCustomActionDefinitions(File customActionDefinitionRoot) throws JAXBException, org.apache.ambari.server.AmbariException
JAXBExceptionorg.apache.ambari.server.AmbariExceptionpublic List<ActionDefinition> getAllActionDefinition()
public ActionDefinition getActionDefinition(String name)
public void addActionDefinition(ActionDefinition ad) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.