/** * Called when a contribution is removed * * @param name the name of the contribution */ @Info("Removed {0}") void removed(String name);
/** * Captures Jetty warnings. * * @param msg the warning message * @param args arguments */ @Warning("Jetty warning: {0} \n {1}") void warn(String msg, Object... args);
/** * Callback when an error is thrown processing a deployment. * * @param msg the error message * @param e the error */ @Severe void errorMessage(String msg, Throwable e);
/** * Sets the monitor for logging significant events. * * @param ftpMonitor Monitor for logging significant events. */ @Monitor public void setFtpMonitor(FtpMonitor ftpMonitor) { this.ftpMonitor = ftpMonitor; }
/** * Called when errors are encountered during deployments * * @param description a description of the errors */ @Severe("The following deployment errors were raised:\n\n {0}") void deploymentErrors(String description);
/** * Sets the monitor. * * @param monitor the monitor. */ @Monitor public void setMonitor(FtpHostMonitor monitor) { this.monitor = monitor; }
/** * Called when a file type is not recognized and ignored. * * @param name the file name */ @Info("Contribution type not recognized: {0}. If this is a valid type, ensure runtime extensions are installed.") void ignored(String name);
/** * Captures Jetty warnings. * * @param msg the warning message * @param args arguments */ @Warning("Jetty warning: {0} \n {1}") void warn(String msg, Object... args);
/** * Logged when an FtpLet not found for a resource. * * @param resource the resource address. */ @Severe("No registered FtpLet for resource: {0}") void noFtpLetRegistered(String resource);
/** * Sets the monitor for logging significant events. * * @param ftpMonitor Monitor for logging significant events. */ @Monitor public void setFtpMonitor(FtpMonitor ftpMonitor) { this.ftpMonitor = ftpMonitor; }
/** * Called when a contribution is deployed. * * @param name the name of the contribution */ @Info("Processed {0}") void processed(String name);
/** * Called when an error is encountered removing a contribution * * @param filename the file being removed * @param e the error */ @Severe("Error removing {0}") void removalError(String filename, Throwable e);
/** * Logged when a command is received by the FTP server. * * @param command Command that was received. * @param user User that sent the command. */ @Info("Command received from user {1}: {0}") void onCommand(Object command, String user);
/** * Called when errors are encountered during deployments * * @param description a description of the errors */ @Severe("The following deployment errors were raised:\n\n {0}") void deploymentErrors(String description);
/** * Logged when a response is sent by the FTP server. * * @param response Response that was sent. * @param user User that sent the command. */ @Info("Response sent to user {1}: {0}") void onResponse(Object response, String user);
/** * Captures Jetty exceptions * * @param msg the warning message * @param args the exceptions */ @Severe("Jetty exception: {0}") void exception(String msg, Throwable args);
/** * The web application has been deactivated * * @param path the WAR context path */ @Info("Web application deactivated: [{0}]") void deactivated(String path); }
/** * Callback when an error is thrown processing a deployment. * * @param e the error */ @Severe("Deployment error") void error(Throwable e);
/** * Called when an error is encountered removing a contribution * * @param filename the file being removed * @param e the error */ @Severe("Error removing {0}") void removalError(String filename, Throwable e);
/** * Called when errors are encountered processing contributions * * @param description a description of the errors */ @Severe("The following contribution errors were found:\n\n {0}") void contributionErrors(String description);