Package com.jalios.jcms.analytics
Class AnalyzeListener
- java.lang.Object
-
- com.jalios.jcms.analytics.AnalyzeListener
-
- All Implemented Interfaces:
ProgressListener
public class AnalyzeListener extends java.lang.Object implements ProgressListener
-
-
Constructor Summary
Constructors Constructor Description AnalyzeListener(StatisticContext context, java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractStatisticAgent>
getAgentList()
long
getContentState()
StatisticContext
getContext()
java.util.Date
getEndDate()
java.lang.String
getId()
long
getMaxSize()
int
getPercent()
boolean
isError()
boolean
isRunning()
void
onEndEvent(StatisticContext context, boolean withoutError)
void
onProgressEvent(AbstractEventDataProvider eventDataProvider, StatisticContext context)
void
onStartEvent(AbstractEventDataProvider eventDataProvider, StatisticContext context)
void
setAgentList(java.util.List<AbstractStatisticAgent> agentList)
void
setContentState(long contentState)
void
setContext(StatisticContext context)
void
setEndDate(java.util.Date endDate)
void
setError(boolean isError)
void
setId(java.lang.String id)
void
setMaxSize(long maxSize)
void
setPercent(int percent)
void
setRunning(boolean isRunning)
-
-
-
Constructor Detail
-
AnalyzeListener
public AnalyzeListener(StatisticContext context, java.lang.String id)
-
-
Method Detail
-
onProgressEvent
public void onProgressEvent(AbstractEventDataProvider eventDataProvider, StatisticContext context)
- Specified by:
onProgressEvent
in interfaceProgressListener
-
onStartEvent
public void onStartEvent(AbstractEventDataProvider eventDataProvider, StatisticContext context)
- Specified by:
onStartEvent
in interfaceProgressListener
-
onEndEvent
public void onEndEvent(StatisticContext context, boolean withoutError)
- Specified by:
onEndEvent
in interfaceProgressListener
-
getContext
public StatisticContext getContext()
-
setContext
public void setContext(StatisticContext context)
-
getAgentList
public java.util.List<AbstractStatisticAgent> getAgentList()
-
setAgentList
public void setAgentList(java.util.List<AbstractStatisticAgent> agentList)
-
getContentState
public long getContentState()
-
setContentState
public void setContentState(long contentState)
-
getMaxSize
public long getMaxSize()
-
setMaxSize
public void setMaxSize(long maxSize)
-
isRunning
public boolean isRunning()
-
setRunning
public void setRunning(boolean isRunning)
-
getPercent
public int getPercent()
-
setPercent
public void setPercent(int percent)
-
getEndDate
public java.util.Date getEndDate()
-
setEndDate
public void setEndDate(java.util.Date endDate)
-
isError
public boolean isError()
-
setError
public void setError(boolean isError)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
-