public class AnalyzeListener extends java.lang.Object implements ProgressListener
Constructor and Description |
---|
AnalyzeListener(StatisticContext context,
java.lang.String id) |
Modifier and Type | Method and 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(MonitoredInputStream monitorInputStream,
StatisticContext context) |
void |
onStartEvent(MonitoredInputStream monitorInputStream,
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) |
public AnalyzeListener(StatisticContext context, java.lang.String id)
public void onProgressEvent(MonitoredInputStream monitorInputStream, StatisticContext context)
onProgressEvent
in interface ProgressListener
public void onStartEvent(MonitoredInputStream monitorInputStream, StatisticContext context)
onStartEvent
in interface ProgressListener
public void onEndEvent(StatisticContext context, boolean withoutError)
onEndEvent
in interface ProgressListener
public StatisticContext getContext()
public void setContext(StatisticContext context)
public java.util.List<AbstractStatisticAgent> getAgentList()
public void setAgentList(java.util.List<AbstractStatisticAgent> agentList)
public long getContentState()
public void setContentState(long contentState)
public long getMaxSize()
public void setMaxSize(long maxSize)
public boolean isRunning()
public void setRunning(boolean isRunning)
public int getPercent()
public void setPercent(int percent)
public java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
public boolean isError()
public void setError(boolean isError)
public java.lang.String getId()
public void setId(java.lang.String id)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.