Package lumis.portal.progress
Class ProgressConfig
- java.lang.Object
-
- lumis.portal.progress.ProgressConfig
-
public class ProgressConfig extends java.lang.Object
Config class for Progress properties- Since:
- 4.0.7
- Version:
- $Revision: 7225 $ $Date: 2007-06-05 16:28:20 -0300 (Tue, 05 Jun 2007) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProgressConfig.Type
-
Constructor Summary
Constructors Constructor Description ProgressConfig(java.lang.String processId, int overallMax, int overallValue, int itemMax, int itemValue, java.lang.String message, ProgressConfig.Type type, boolean lastMessage)
ProgressConfig(java.lang.String processId, int overallMax, int overallValue, int itemMax, int itemValue, java.lang.String message, ProgressConfig.Type type, boolean lastMessage, int elapsedTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
calculateRemainingTimeMillis()
java.sql.Timestamp
getCreatedDateTime()
int
getElapsedTime()
java.lang.String
getInnerProgressId()
int
getItemMax()
int
getItemValue()
java.lang.String
getMessage()
int
getOverallMax()
int
getOverallValue()
java.lang.String
getProcessId()
ProgressConfig.Type
getType()
boolean
isLastMessage()
void
setCreatedDateTime(java.sql.Timestamp createdDateTime)
void
setElapsedTime(int elapsedTimeMillis)
void
setInnerProgressId(java.lang.String innerProgressId)
void
setItemMax(int itemMax)
void
setItemValue(int itemValue)
void
setLastMessage(boolean lastMessage)
void
setMessage(java.lang.String message)
void
setOverallMax(int overallMax)
void
setOverallValue(int overallValue)
void
setProcessId(java.lang.String processId)
void
setType(ProgressConfig.Type type)
-
-
-
Constructor Detail
-
ProgressConfig
public ProgressConfig(java.lang.String processId, int overallMax, int overallValue, int itemMax, int itemValue, java.lang.String message, ProgressConfig.Type type, boolean lastMessage)
-
ProgressConfig
public ProgressConfig(java.lang.String processId, int overallMax, int overallValue, int itemMax, int itemValue, java.lang.String message, ProgressConfig.Type type, boolean lastMessage, int elapsedTime)
-
-
Method Detail
-
getCreatedDateTime
public java.sql.Timestamp getCreatedDateTime()
-
setCreatedDateTime
public void setCreatedDateTime(java.sql.Timestamp createdDateTime)
-
isLastMessage
public boolean isLastMessage()
-
setLastMessage
public void setLastMessage(boolean lastMessage)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
getProcessId
public java.lang.String getProcessId()
-
setProcessId
public void setProcessId(java.lang.String processId)
-
getType
public ProgressConfig.Type getType()
-
setType
public void setType(ProgressConfig.Type type)
-
getItemMax
public int getItemMax()
-
setItemMax
public void setItemMax(int itemMax)
-
getItemValue
public int getItemValue()
-
setItemValue
public void setItemValue(int itemValue)
-
getOverallMax
public int getOverallMax()
-
setOverallMax
public void setOverallMax(int overallMax)
-
getOverallValue
public int getOverallValue()
-
setOverallValue
public void setOverallValue(int overallValue)
-
getElapsedTime
public int getElapsedTime()
-
setElapsedTime
public void setElapsedTime(int elapsedTimeMillis)
-
calculateRemainingTimeMillis
public long calculateRemainingTimeMillis()
-
getInnerProgressId
public java.lang.String getInnerProgressId()
-
setInnerProgressId
public void setInnerProgressId(java.lang.String innerProgressId)
-
-