|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.Sericon.ProductAgents.AutoSSLAgent.StatusCheck
public abstract class StatusCheck
Provides feedback to the user about the status of the AutoSSL process. This abstract class should be subclassed by the developers of the enclosing application. During the AutoSSL process, its methods will be called to update the status which may be displayed to the user by whatever means is available (e.g. GUI, console, LCD display, etc.).
| Field Summary | |
|---|---|
static int |
STATUS_CERTIFICATE_CREATED
|
static int |
STATUS_CERTIFICATE_SIGNED
|
static int |
STATUS_CHECKING_DDNS
|
static int |
STATUS_CREATING_CERTIFICATE
|
static int |
STATUS_ERROR_OCCURRED
|
static int |
STATUS_HOSTNAME_RESERVED
|
static int |
STATUS_PROCESS_BEGIN
|
static int |
STATUS_PROCESS_COMPLETE
|
static int |
STATUS_PRODUCT_REGISTERED
|
static int |
STATUS_REGISTERING_PRODUCT
|
static int |
STATUS_RESERVING_HOSTNAME
|
static int |
STATUS_SIGNING_CERTIFICATE
|
static int |
STATUS_TEMP_CERTIFICATE_SIGNED
|
static int |
STATUS_UPDATING_DDNS
|
| Constructor Summary | |
|---|---|
StatusCheck()
|
|
| Method Summary | |
|---|---|
java.lang.String |
elapsedTime()
This method shows how much time that has elapsed since the start of the provisioning process. |
boolean |
isUserAbort()
Query whether or not the user aborted this process. |
abstract void |
showInstallProblem(java.lang.String message)
Display a message to the user concerning a problem that has occurred during the provisioning of the SSL certificate. |
abstract void |
showInstallStatus(int step,
java.lang.String message)
Display a message to the user updating him on the status during the provisioning of the SSL certificate. |
void |
userAbort()
Notify the AutoSSL Agent that the user has requested that processing be aborted. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STATUS_ERROR_OCCURRED
public static final int STATUS_PROCESS_BEGIN
public static final int STATUS_RESERVING_HOSTNAME
public static final int STATUS_HOSTNAME_RESERVED
public static final int STATUS_REGISTERING_PRODUCT
public static final int STATUS_PRODUCT_REGISTERED
public static final int STATUS_CREATING_CERTIFICATE
public static final int STATUS_CERTIFICATE_CREATED
public static final int STATUS_SIGNING_CERTIFICATE
public static final int STATUS_CERTIFICATE_SIGNED
public static final int STATUS_TEMP_CERTIFICATE_SIGNED
public static final int STATUS_PROCESS_COMPLETE
public static final int STATUS_CHECKING_DDNS
public static final int STATUS_UPDATING_DDNS
| Constructor Detail |
|---|
public StatusCheck()
| Method Detail |
|---|
public abstract void showInstallProblem(java.lang.String message)
This can be accomplished by writing information to the console, GUI, LCD, or other means of displaying information to the user. Note that it is understood that in many cases the application will find it difficult to display information to the user, and so this method will only be called as a last resort.
message - The message to display to the user that summerizes the problem
public abstract void showInstallStatus(int step,
java.lang.String message)
This can be accomplished by writing information to the console, GUI, LCD, or other means of displaying information to the user. Note that it is understood that in many cases the application will find it difficult to display information to the user, but it should still make every attempt to inform him of the status to reassure him that the process is working.
step - The step in the process that has been completed. Note: This number corresponds to the STATUS_ constants defined in this class.message - The message to display to the user that summerizes the current statuspublic void userAbort()
public boolean isUserAbort()
public java.lang.String elapsedTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||