com.azalient.api.event
Interface StatusListener

All Known Implementing Classes:
BasePlugin

public interface StatusListener

A listener that is notified when the status of a plugin load process changes


Field Summary
static int BAD
          The process has finished and was not successful
static int N
          the number of possible status values
static int OK
          The process has finished and was successful
static int STARTED
          The process has started, but has not yet completed
static int UNKNOWN
          Status is not known
 
Method Summary
 void status(Object source, int status)
          This is called when the status of a process changes
 void status(Object source, int status, String description)
          This is called when the status of a process changes
 

Field Detail

UNKNOWN

static final int UNKNOWN
Status is not known

See Also:
Constant Field Values

STARTED

static final int STARTED
The process has started, but has not yet completed

See Also:
Constant Field Values

OK

static final int OK
The process has finished and was successful

See Also:
Constant Field Values

BAD

static final int BAD
The process has finished and was not successful

See Also:
Constant Field Values

N

static final int N
the number of possible status values

See Also:
Constant Field Values
Method Detail

status

void status(Object source,
            int status)
This is called when the status of a process changes

Parameters:
source - the source of the status change
status - The new status

status

void status(Object source,
            int status,
            String description)
This is called when the status of a process changes

Parameters:
source - the source of the status change
status - The new status
description - a text message description of the new status, for example a reason for failure