com.partnersoft.preferences.model
Class UpdatePreferences

java.lang.Object
  extended by com.partnersoft.preferences.model.AbstractSubsystemPreferences
      extended by com.partnersoft.preferences.model.UpdatePreferences
All Implemented Interfaces:
Coggable, SubsystemPreferences

public class UpdatePreferences
extends AbstractSubsystemPreferences

SubsystemPreferences for platform update behavior.

Copyright 2010 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
UpdatePreferences()
           
UpdatePreferences(Cog state)
           
 
Method Summary
 boolean getRestartAutomatically()
          If true, the main Partner application (the map viewer) will start automatically after an update and migration, without prompting the user.
 java.lang.String getUpdateSource()
          Location for updates.
 void setRestartAutomatically(boolean restartAutomatically)
           
 void setUpdateSource(java.lang.String updateSource)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdatePreferences

public UpdatePreferences()

UpdatePreferences

public UpdatePreferences(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Overrides:
toCog in class AbstractSubsystemPreferences
Returns:
Cog representing the internal state of this object

getUpdateSource

public java.lang.String getUpdateSource()
Location for updates. While the preferences editor allows you to change this, the location of record is the file update/info/UpdateSource.txt.


setUpdateSource

public void setUpdateSource(java.lang.String updateSource)

getRestartAutomatically

public boolean getRestartAutomatically()
If true, the main Partner application (the map viewer) will start automatically after an update and migration, without prompting the user.


setRestartAutomatically

public void setRestartAutomatically(boolean restartAutomatically)