peterreilly 2005/07/08 06:36:43
Modified: src/main/org/apache/tools/ant/taskdefs/optional/ssh
LogListener.java
Log:
javadoc
Revision Changes Path
1.6 +8 -1
ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/LogListener.java
Index: LogListener.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/LogListener.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- LogListener.java 9 Feb 2004 21:05:34 -0000 1.5
+++ LogListener.java 8 Jul 2005 13:36:43 -0000 1.6
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation
+ * Copyright 2003-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,6 +17,13 @@
package org.apache.tools.ant.taskdefs.optional.ssh;
+/**
+ * Interface for ssh log listeners to implement.
+ */
public interface LogListener {
+ /**
+ * Method for the loglistener to implement to recieve log messages.
+ * @param message the message to log
+ */
void log(String message);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]