public function set updateURL(param1:String) : void
{
this._updateURL = param1;
}
public function get isNewerVersionFunction() : Function
{
return this._isNewerVersionFunction;
}
public function set isUnexpectedErrorVisible(param1:Boolean) : void
{
this._isUnexpectedErrorVisible = param1 ? 1 : 0;
}
public function get configurationFile() : File
{
return this._configurationFile;
}
public function set isFileUpdateVisible(param1:Boolean) : void
{
this._isFileUpdateVisible = param1 ? 1 : 0;
}
public function get isCheckForUpdateVisible() : Boolean
{
if(this._isCheckForUpdateVisible >= 0)
{
return this._isCheckForUpdateVisible == 1;
}
var _loc1_:int = this.dialogVisibilityInConfiguration(ConfigurationDescriptor.DIALOG_CHECK_FOR_UPDATE);
if(_loc1_ >= 0)
{
return _loc1_ == 1;
}
return true;
}
public function get isDownloadUpdateVisible() : Boolean
{
if(this._isDownloadUpdateVisible >= 0)
{
return this._isDownloadUpdateVisible == 1;
}
var _loc1_:int = this.dialogVisibilityInConfiguration(ConfigurationDescriptor.DIALOG_DOWNLOAD_UPDATE);
if(_loc1_ >= 0)
{
return _loc1_ == 1;
}
return true;
}
public function set isNewerVersionFunction(param1:Function) : void
{
this._isNewerVersionFunction = param1;
}
public function get isFileUpdateVisible() : Boolean
{
if(this._isFileUpdateVisible >= 0)
{
return this._isFileUpdateVisible == 1;
}
var _loc1_:int = this.dialogVisibilityInConfiguration(ConfigurationDescriptor.DIALOG_FILE_UPDATE);
if(_loc1_ >= 0)
{
return _loc1_ == 1;
}
return true;
}
public function set isInstallUpdateVisible(param1:Boolean) : void
{
this._isInstallUpdateVisible = param1 ? 1 : 0;
}
public function set isDownloadProgressVisible(param1:Boolean) : void
{
this._isDownloadProgressVisible = param1 ? 1 : 0;
}
public function get isDownloadProgressVisible() : Boolean
{
if(this._isDownloadProgressVisible >= 0)
{
return this._isDownloadProgressVisible == 1;
}
var _loc1_:int = this.dialogVisibilityInConfiguration(ConfigurationDescriptor.DIALOG_DOWNLOAD_PROGRESS);
if(_loc1_ >= 0)
{
return _loc1_ == 1;
}
return true;
}
public function validate() : void
{
var _loc1_:XML = null;
if(this.configurationFile)
{
if(!this.configurationFile.exists)
{
throw new Error("Configuration file \"" + this.configurationFile.nativePath + "\" does not exists on disk",Constants.ERROR_CONFIGURATION_FILE_MISSING);