PageBoxLib
Class DeployIF.Status

java.lang.Object
  extended byPageBoxLib.DeployIF.Status
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DeployIF

public static class DeployIF.Status
extends java.lang.Object
implements java.io.Serializable

Classe wrapping the deployment code and message.

See Also:
Serialized Form

Field Summary
static int ARCHPB
          Installation problem due to the archive.
 int code
          Either NOTDEPLOYED or NOTUNDEPLOYED or ARCHPB or PBPB
static int INVALIDDATE
          Delta archive not deployed.
 java.lang.String msg
          Error message
static int NOTAUTHENTICATED
          Used by DeployerIF implementations to inform about an invalid user name / password.
static int NOTCONTACTED
          Used in Relayer and in Deployer.
static int NOTDEPLOYED
          Archive not deployed.
static int NOTRELAYED
          Like NOTDEPLOYED but relaying also failed.
static int NOTUNDEPLOYED
          Archive not undeployed due to PageBox configuration problem.
static int OK
          Archive successfully installed.
static int PBPB
          Installation problem due to the PageBox setting.
 
Constructor Summary
DeployIF.Status()
          Empty constructor.
DeployIF.Status(int code, java.lang.String msg)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
Archive successfully installed. Used in Relayer to setup RepoQueryIF.UrlStatus. => ArchiveStatus.status = installed.

See Also:
Constant Field Values

NOTDEPLOYED

public static final int NOTDEPLOYED
Archive not deployed. Do not record the archive on Repository subscribers. Refresh triggered by the PageBox administrator after configuration change though the Sync button of the Subscribe page.

See Also:
Constant Field Values

NOTRELAYED

public static final int NOTRELAYED
Like NOTDEPLOYED but relaying also failed.

See Also:
Constant Field Values

ARCHPB

public static final int ARCHPB
Installation problem due to the archive. Record the archive on Repository subscribers to allow delta updates. Reinstall triggered by new publication. => ArchiveStatus.status = archive err.

On uninstall processed as a successful uninstall.

See Also:
Constant Field Values

PBPB

public static final int PBPB
Installation problem due to the PageBox setting. Record the archive on Repository subscribers. Reinstall triggered by the PageBox administrator after configuration change through the Retry button of the Update page.. => ArchiveStatus.status = PageBox err.

On uninstall processed as a successful uninstall.

See Also:
Constant Field Values

NOTUNDEPLOYED

public static final int NOTUNDEPLOYED
Archive not undeployed due to PageBox configuration problem. Unsubscribe the PageBox. The PageBox must be subscribed again after configuration change. The PageBox administrator must clear the environment manually.

See Also:
Constant Field Values

NOTCONTACTED

public static final int NOTCONTACTED
Used in Relayer and in Deployer. Unable to contact the target PageBox. => ArchiveStatus.status = pending/pending remove.

See Also:
Constant Field Values

NOTAUTHENTICATED

public static final int NOTAUTHENTICATED
Used by DeployerIF implementations to inform about an invalid user name / password. Permanent error. At deployment like NOTDEPLOYED. Handled by Sync for both deployment and undeployment.after user/password fix.

See Also:
Constant Field Values

INVALIDDATE

public static final int INVALIDDATE
Delta archive not deployed. The Repository must send the full archive.

See Also:
Constant Field Values

code

public int code
Either NOTDEPLOYED or NOTUNDEPLOYED or ARCHPB or PBPB


msg

public java.lang.String msg
Error message

Constructor Detail

DeployIF.Status

public DeployIF.Status(int code,
                       java.lang.String msg)
Constructor. Set code and msg member variables.

Parameters:
code - deployment code
msg - deployment message

DeployIF.Status

public DeployIF.Status()
Empty constructor.