org.jasen.update
Class JasenAutoUpdateConfiguration

java.lang.Object
  extended byorg.jasen.update.JasenAutoUpdateConfiguration
All Implemented Interfaces:
Serializable

public class JasenAutoUpdateConfiguration
extends Object
implements Serializable

Holds the configuration for the auto update engine.

Author:
Jason Polites
See Also:
Serialized Form

Constructor Summary
JasenAutoUpdateConfiguration()
           
 
Method Summary
 JasenErrorHandler getErrorHandler()
           
 long getFrequency()
          Gets the frequency of updates in minutes
 String getParcel()
           
 int getReadBuffer()
           
 long getReadTimeout()
           
 URL getUpdateURL()
           
 boolean isCheckOnStartup()
           
 void setCheckOnStartup(boolean checkOnStartup)
           
 void setErrorHandler(JasenErrorHandler errorHandler)
           
 void setFrequency(long frequency)
          Sets the frequency of updates in minutes
 void setParcel(String parcel)
           
 void setReadBuffer(int readBuffer)
           
 void setReadTimeout(long readTimeout)
           
 void setUpdateURL(URL updateSite)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasenAutoUpdateConfiguration

public JasenAutoUpdateConfiguration()
Method Detail

getFrequency

public long getFrequency()
Gets the frequency of updates in minutes

Returns:
The delay in minutes between each update check

setFrequency

public void setFrequency(long frequency)
Sets the frequency of updates in minutes

Parameters:
frequency -

getUpdateURL

public URL getUpdateURL()

setUpdateURL

public void setUpdateURL(URL updateSite)

isCheckOnStartup

public boolean isCheckOnStartup()

setCheckOnStartup

public void setCheckOnStartup(boolean checkOnStartup)

getReadBuffer

public int getReadBuffer()

setReadBuffer

public void setReadBuffer(int readBuffer)

getReadTimeout

public long getReadTimeout()

setReadTimeout

public void setReadTimeout(long readTimeout)

getParcel

public String getParcel()

setParcel

public void setParcel(String parcel)

getErrorHandler

public JasenErrorHandler getErrorHandler()

setErrorHandler

public void setErrorHandler(JasenErrorHandler errorHandler)