|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.ui.config.SSHLauncherConfigAction
public class SSHLauncherConfigAction
Action for SSHLauncherConfig UI.
| Field Summary | |
|---|---|
protected SSHLauncherConfigUI |
configUI
|
protected java.lang.String |
currentSSHControlInterval
|
protected java.lang.String |
currentSSHDatapath
|
protected java.lang.String |
currentSSHIsisHome
|
protected java.lang.String |
currentSSHJavaPath
|
protected java.io.File |
currentSSHKey
|
protected java.lang.String |
currentSSHMaxThreads
|
protected java.lang.String |
currentSSHPbsBinPath
|
protected java.lang.String |
currentSSHPbsQsubOptions
|
protected java.lang.String |
currentSSHserver
|
protected java.lang.String |
currentSSHTempPath
|
protected java.lang.String |
currentSSHUserhome
|
protected java.lang.String |
currentSSHUsername
|
| Constructor Summary | |
|---|---|
SSHLauncherConfigAction(SSHLauncherConfigUI configUI)
Constructor with UI. |
|
| Method Summary | |
|---|---|
void |
cancelSSHConfiguration()
Close frame. |
void |
clearDatabase()
Clear database. |
protected void |
clearFolder(java.lang.String path)
Clear specified directory. |
void |
clearTempDirectory()
Clear temp directory. |
protected void |
configurationChanged()
Reset display. |
void |
doCheck()
Check input format validity. |
protected void |
generateSSHKey()
Generate new SSH key. |
protected java.lang.String |
getFolderSize(com.jcraft.jsch.Session session,
java.lang.String path)
Get user home directory with an opened session. |
protected java.lang.String |
getUserHomeDirectory(com.jcraft.jsch.Session session)
Get user home directory with an opened session. |
void |
resetSSHConfiguration()
Reset values with default configuration values. |
void |
saveSSHConfiguration()
Set values in config and force configuration save. |
protected void |
setColor(boolean invalid,
javax.swing.JComponent component)
Set color depending of field validity. |
protected void |
setTestMessage(java.lang.String message,
boolean error)
Set message in message field with status color. |
void |
testSSHConfiguration()
Realise une connexion ssh et teste les données. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SSHLauncherConfigUI configUI
protected java.lang.String currentSSHserver
protected java.lang.String currentSSHUsername
protected java.io.File currentSSHKey
protected java.lang.String currentSSHUserhome
protected java.lang.String currentSSHDatapath
protected java.lang.String currentSSHIsisHome
protected java.lang.String currentSSHTempPath
protected java.lang.String currentSSHJavaPath
protected java.lang.String currentSSHPbsBinPath
protected java.lang.String currentSSHPbsQsubOptions
protected java.lang.String currentSSHMaxThreads
protected java.lang.String currentSSHControlInterval
| Constructor Detail |
|---|
public SSHLauncherConfigAction(SSHLauncherConfigUI configUI)
configUI - config ui| Method Detail |
|---|
public void resetSSHConfiguration()
protected void configurationChanged()
public void doCheck()
public void saveSSHConfiguration()
public void cancelSSHConfiguration()
public void testSSHConfiguration()
protected java.lang.String getUserHomeDirectory(com.jcraft.jsch.Session session)
throws SSHException
session - opened session
SSHException
protected java.lang.String getFolderSize(com.jcraft.jsch.Session session,
java.lang.String path)
throws SSHException
session - opened session
SSHExceptionpublic void clearDatabase()
public void clearTempDirectory()
protected void clearFolder(java.lang.String path)
path - path to clearprotected void generateSSHKey()
protected void setColor(boolean invalid,
javax.swing.JComponent component)
invalid - valid fieldcomponent - component to set color
protected void setTestMessage(java.lang.String message,
boolean error)
message - message to displayerror - error status
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||