|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.services.stats.StatsRecorderSettings
This class is responsible for maintaining the on/off settings
for each type of portal event that the StatsRecorder can record.
StatsRecorder will consult with this class before it attempts
to record an event. The initial values for each setting will
be read upon portal startup from portal.properties. At runtime,
the settings in this class can be controlled via
StatsRecorder.set()
.
Field Summary | |
static int |
RECORD_CHANNEL_ADDED_TO_LAYOUT
|
static int |
RECORD_CHANNEL_DEFINITION_MODIFIED
|
static int |
RECORD_CHANNEL_DEFINITION_PUBLISHED
|
static int |
RECORD_CHANNEL_DEFINITION_REMOVED
|
static int |
RECORD_CHANNEL_INSTANTIATED
|
static int |
RECORD_CHANNEL_MOVED_IN_LAYOUT
|
static int |
RECORD_CHANNEL_REMOVED_FROM_LAYOUT
|
static int |
RECORD_CHANNEL_RENDERED
|
static int |
RECORD_CHANNEL_TARGETED
|
static int |
RECORD_CHANNEL_UPDATED_IN_LAYOUT
|
static int |
RECORD_FOLDER_ADDED_TO_LAYOUT
|
static int |
RECORD_FOLDER_MOVED_IN_LAYOUT
|
static int |
RECORD_FOLDER_REMOVED_FROM_LAYOUT
|
static int |
RECORD_FOLDER_UPDATED_IN_LAYOUT
|
static int |
RECORD_LOGIN
|
static int |
RECORD_LOGOUT
|
static int |
RECORD_SESSION_CREATED
|
static int |
RECORD_SESSION_DESTROYED
|
Method Summary | |
boolean |
get(int setting)
Get the value of a particular setting. |
static StatsRecorderSettings |
instance()
Creates an instance of StatsRecorderSettings. |
void |
set(int setting,
boolean newValue)
Set the value of a particular setting. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RECORD_LOGIN
public static final int RECORD_LOGOUT
public static final int RECORD_SESSION_CREATED
public static final int RECORD_SESSION_DESTROYED
public static final int RECORD_CHANNEL_DEFINITION_PUBLISHED
public static final int RECORD_CHANNEL_DEFINITION_MODIFIED
public static final int RECORD_CHANNEL_DEFINITION_REMOVED
public static final int RECORD_CHANNEL_ADDED_TO_LAYOUT
public static final int RECORD_CHANNEL_UPDATED_IN_LAYOUT
public static final int RECORD_CHANNEL_MOVED_IN_LAYOUT
public static final int RECORD_CHANNEL_REMOVED_FROM_LAYOUT
public static final int RECORD_FOLDER_ADDED_TO_LAYOUT
public static final int RECORD_FOLDER_UPDATED_IN_LAYOUT
public static final int RECORD_FOLDER_MOVED_IN_LAYOUT
public static final int RECORD_FOLDER_REMOVED_FROM_LAYOUT
public static final int RECORD_CHANNEL_INSTANTIATED
public static final int RECORD_CHANNEL_RENDERED
public static final int RECORD_CHANNEL_TARGETED
Method Detail |
public static final StatsRecorderSettings instance()
StatsRecorderSettings
instancepublic boolean get(int setting)
setting
- the setting
public void set(int setting, boolean newValue)
setting
- the setting to changenewValue
- the new value for the settingpublic java.lang.String toString()
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |