/**
 * An interface for representing events related to ComponentConfigurators.
 * @author  Fabio Kon
 * @version 0.1
 * @see     ComponentConfigurator
*/
public interface ComponentEvent {
/** unknown event String.
 */
    static final String UNKNOWN = "UNKNOWN";

/** component deleted.
 */
    static final int DELETED     = 1;
/** component failure.
 */
    static final int FAILED      = 2;
/** component reconfigured.
 */
    static final int RECONFIGURED = 4;
/** component replaced.
 */
    static final int REPLACED     = 8;
/** component migrated.
 */
    static final int MIGRATED     = 16;

/**
 * Converts the event into a String.
 * @return a string describing the event.
 */
    String toString();

}

