File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
src/main/java/com/github/stefanbirkner/fakesftpserver/rule Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Fake SFTP Server Rule is available from
2727 <dependency>
2828 <groupId>com.github.stefanbirkner</groupId>
2929 <artifactId>fake-sftp-server-rule</artifactId>
30- <version>2.0 .1</version>
30+ <version>2.1 .1</version>
3131 </dependency>
3232
3333If you upgrade from a version < 2.x to the newest version please read the last
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <artifactId >fake-sftp-server-rule</artifactId >
12- <version >2.1.0-SNAPSHOT </version >
12+ <version >2.1.1 </version >
1313 <packaging >jar</packaging >
1414
1515 <name >Fake SFTP Server Rule</name >
Original file line number Diff line number Diff line change @@ -183,6 +183,19 @@ public FileVisitResult postVisitDirectory(
183183 private FileSystem fileSystem ;
184184 private SshServer server ;
185185
186+ /**
187+ * Returns the internal SFTP server of the Apache SSHD project.
188+ * If you need personal changes in internal SFTP server that
189+ * are not supported by the rule, you can use this method to get the inner
190+ * internal SFTP server of the rule and change it to suit your needs.
191+ * (Correct use of this feature is the responsibility of the user)
192+ *
193+ * @return the internal SFTP server of the Apache SSHD project.
194+ */
195+ public SshServer getInternalSshServer () {
196+ return server ;
197+ }
198+
186199 /**
187200 * Returns the port of the SFTP server. If the SFTP server listens on an
188201 * auto-allocated port (that means you didn't call {@link #setPort(int)})
You can’t perform that action at this time.
0 commit comments