Package lumis.portal.progress
Class ProgressConfig
- java.lang.Object
-
- lumis.portal.progress.ProgressConfig
-
public class ProgressConfig extends 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(String processId, int overallMax, int overallValue, int itemMax, int itemValue, String message, ProgressConfig.Type type, boolean lastMessage)
ProgressConfig(String processId, int overallMax, int overallValue, int itemMax, int itemValue, String message, ProgressConfig.Type type, boolean lastMessage, int elapsedTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
calculateRemainingTimeMillis()
Timestamp
getCreatedDateTime()
int
getElapsedTime()
String
getInnerProgressId()
int
getItemMax()
int
getItemValue()
String
getMessage()
int
getOverallMax()
int
getOverallValue()
String
getProcessId()
ProgressConfig.Type
getType()
boolean
isLastMessage()
void
setCreatedDateTime(Timestamp createdDateTime)
void
setElapsedTime(int elapsedTimeMillis)
void
setInnerProgressId(String innerProgressId)
void
setItemMax(int itemMax)
void
setItemValue(int itemValue)
void
setLastMessage(boolean lastMessage)
void
setMessage(String message)
void
setOverallMax(int overallMax)
void
setOverallValue(int overallValue)
void
setProcessId(String processId)
void
setType(ProgressConfig.Type type)
-
-
-
Constructor Detail
-
ProgressConfig
public ProgressConfig(String processId, int overallMax, int overallValue, int itemMax, int itemValue, String message, ProgressConfig.Type type, boolean lastMessage)
-
ProgressConfig
public ProgressConfig(String processId, int overallMax, int overallValue, int itemMax, int itemValue, String message, ProgressConfig.Type type, boolean lastMessage, int elapsedTime)
-
-
Method Detail
-
getCreatedDateTime
public Timestamp getCreatedDateTime()
-
setCreatedDateTime
public void setCreatedDateTime(Timestamp createdDateTime)
-
isLastMessage
public boolean isLastMessage()
-
setLastMessage
public void setLastMessage(boolean lastMessage)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getProcessId
public String getProcessId()
-
setProcessId
public void setProcessId(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 String getInnerProgressId()
-
setInnerProgressId
public void setInnerProgressId(String innerProgressId)
-
-