Repository
Class ArchiveStatus

java.lang.Object
  extended byRepository.ArchiveStatus

class ArchiveStatus
extends java.lang.Object

Entry of archives map of Subscriber.

Changes:

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 11
Author:
Alexis Grandemange

Field Summary
(package private)  java.lang.String date
          Date of the archive on the PageBox.
(package private)  long maybeExpire
          Time when the maybe status should expire and the deployment be retried or -1 if the status is not maybe
(package private)  java.lang.String oldStatus
          Previous status: installed, pending, archive err, PageBox err, pending remove, maybe or null when update not ongoing
(package private)  java.lang.String status
          Deployment status: installed, pending, archive err, PageBox err, pending remove, maybe
 
Constructor Summary
(package private) ArchiveStatus()
          Default constructor
(package private) ArchiveStatus(java.lang.String status, long maybeExpire, java.lang.String date)
          Constructor.
(package private) ArchiveStatus(java.lang.String status, java.lang.String os, long maybeExpire, java.lang.String date)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

java.lang.String status
Deployment status: installed, pending, archive err, PageBox err, pending remove, maybe


oldStatus

java.lang.String oldStatus
Previous status: installed, pending, archive err, PageBox err, pending remove, maybe or null when update not ongoing


maybeExpire

long maybeExpire
Time when the maybe status should expire and the deployment be retried or -1 if the status is not maybe


date

java.lang.String date
Date of the archive on the PageBox. null up to the time the archive is installed or PageBox err or archive err.

Constructor Detail

ArchiveStatus

ArchiveStatus(java.lang.String status,
              long maybeExpire,
              java.lang.String date)
Constructor.

Parameters:
status - deployment status
maybeExpire - time when the maybe status should expire
date - date of the archive on the PageBox

ArchiveStatus

ArchiveStatus(java.lang.String status,
              java.lang.String os,
              long maybeExpire,
              java.lang.String date)
Constructor.

Parameters:
status - deployment status
os - previous status
maybeExpire - time when the maybe status should expire
date - date of the archive on the PageBox

ArchiveStatus

ArchiveStatus()
Default constructor