Initial beginnings of a tunnel creation wizard as per ticket #502

This commit is contained in:
str4d
2012-01-21 05:30:23 +00:00
parent 0e5fc8eb11
commit c31cb0c057
3 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package net.i2p.i2ptunnel.web;
/**
* A temporary data holder for the wizard pages
*
* Warning - This class is not part of the i2ptunnel API, and at some point
* it will be moved from the jar to the war.
* Usage by classes outside of i2ptunnel.war is deprecated.
*/
public class WizardBean extends IndexBean {
private boolean _isClient;
public WizardBean() { super(); }
/**
* Whether the tunnel being set up is a client tunnel or not.
*
*/
public void setIsClient(String isClient) {
_isClient = Boolean.valueOf(isClient);
}
public boolean getIsClient() {
return _isClient;
}
}