lumis.portal.progress
Class ProgressConfig

Package class diagram package ProgressConfig
java.lang.Object
  extended by lumis.portal.progress.ProgressConfig

public class ProgressConfig
extends Object

Config class for Progress properties

Since:
4.0.7

Nested Class Summary
static class ProgressConfig.Type
           
 
Constructor Summary
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
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.