public class UpdateLoggingProfiling extends BaseAction
Modifier and Type | Class and Description |
---|---|
protected static class |
UpdateLoggingProfiling.LoggingConfigEntry
Represents a Log4j Config entry, corresponding to a Class or Package mapped to a Level.
|
Modifier and Type | Field and Description |
---|---|
protected String[] |
classNames
TODO: levelNames[i] is the level name for class classNames[i].
|
protected List |
entries |
protected UpdateLoggingProfiling.LoggingConfigEntry |
entry |
protected String[] |
levelNames |
protected static String |
LOGLEVEL_DEFAULT |
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, tab, tokenAuthenticationManager
Constructor and Description |
---|
UpdateLoggingProfiling() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault() |
String |
doUpdateLogging() |
String |
doUpdateProfiling() |
List |
getEntries() |
String |
getProfileName() |
boolean |
isProfilingOn() |
protected void |
processLogging()
Reads current state of logging and updates class fields to match.
|
protected void |
processProfiling()
Updates the class profiling fields to reflect the current status of profiling.
|
void |
setClassNames(String[] classNames) |
void |
setEntries(List entries) |
protected void |
setLevelForLogger(String className,
String levelName) |
void |
setLevelNames(String[] levelNames) |
void |
setProfileName(String profileName) |
void |
setProfilingOn(boolean profilingOn) |
protected boolean |
updateLogging()
Updates the logging rules upon a "submit" of the UI form by the user.
|
protected boolean |
updateProfiling() |
addActionError, addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, directoryForRemoteUser, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setApplicationManager, setApplicationService, setBootstrapManager, setClientProperties, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
protected static final String LOGLEVEL_DEFAULT
protected String[] classNames
protected String[] levelNames
protected UpdateLoggingProfiling.LoggingConfigEntry entry
protected List entries
public String doDefault()
doDefault
in class BaseAction
public String doUpdateLogging()
public String doUpdateProfiling()
protected void processLogging()
protected boolean updateLogging()
protected void processProfiling()
protected boolean updateProfiling()
public List getEntries()
public void setEntries(List entries)
public void setClassNames(String[] classNames)
public void setLevelNames(String[] levelNames)
public String getProfileName()
public void setProfileName(String profileName)
public boolean isProfilingOn()
public void setProfilingOn(boolean profilingOn)
Copyright © 2013 Atlassian. All Rights Reserved.