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
JAXBException
public void readCustomActionDefinitions(File customActionDefinitionRoot) throws JAXBException, org.apache.ambari.server.AmbariException
JAXBException
org.apache.ambari.server.AmbariException
public List<ActionDefinition> getAllActionDefinition()
public ActionDefinition getActionDefinition(String name)
public void addActionDefinition(ActionDefinition ad) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.