public class XmlJohnsonConfig extends Object implements JohnsonConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONFIGURATION_FILE |
| Modifier and Type | Method and Description |
|---|---|
static XmlJohnsonConfig |
fromDocument(Document document) |
static XmlJohnsonConfig |
fromFile(String fileName) |
List<ApplicationEventCheck> |
getApplicationEventChecks() |
ContainerFactory |
getContainerFactory() |
String |
getErrorPath() |
EventCheck |
getEventCheck(int id) |
List<EventCheck> |
getEventChecks() |
EventLevel |
getEventLevel(String level) |
EventType |
getEventType(String type) |
List<String> |
getIgnorePaths() |
Map<String,String> |
getParams() |
List<RequestEventCheck> |
getRequestEventChecks() |
SetupConfig |
getSetupConfig() |
String |
getSetupPath() |
boolean |
isIgnoredPath(String uri) |
public static final String DEFAULT_CONFIGURATION_FILE
@Nonnull public static XmlJohnsonConfig fromDocument(@Nonnull Document document)
@Nonnull public static XmlJohnsonConfig fromFile(@Nonnull String fileName)
@Nonnull public List<ApplicationEventCheck> getApplicationEventChecks()
getApplicationEventChecks in interface JohnsonConfig@Nonnull public ContainerFactory getContainerFactory()
getContainerFactory in interface JohnsonConfig@Nonnull public String getErrorPath()
getErrorPath in interface JohnsonConfigpublic EventCheck getEventCheck(int id)
getEventCheck in interface JohnsonConfig@Nonnull public List<EventCheck> getEventChecks()
getEventChecks in interface JohnsonConfigpublic EventLevel getEventLevel(@Nonnull String level)
getEventLevel in interface JohnsonConfigpublic EventType getEventType(@Nonnull String type)
getEventType in interface JohnsonConfig@Nonnull public List<String> getIgnorePaths()
getIgnorePaths in interface JohnsonConfig@Nonnull public Map<String,String> getParams()
getParams in interface JohnsonConfig@Nonnull public List<RequestEventCheck> getRequestEventChecks()
getRequestEventChecks in interface JohnsonConfig@Nonnull public SetupConfig getSetupConfig()
getSetupConfig in interface JohnsonConfig@Nonnull public String getSetupPath()
getSetupPath in interface JohnsonConfigpublic boolean isIgnoredPath(@Nonnull String uri)
isIgnoredPath in interface JohnsonConfigCopyright © 2017 Atlassian. All rights reserved.