org.apache.james.mpt.ant
Class MailProtocolTestTask.AddUser

java.lang.Object
  extended by org.apache.james.mpt.ant.MailProtocolTestTask.AddUser
Enclosing class:
MailProtocolTestTask

public class MailProtocolTestTask.AddUser
extends java.lang.Object

Adds a user.


Constructor Summary
MailProtocolTestTask.AddUser()
           
 
Method Summary
 void addText(java.lang.String scriptText)
          Sets user addition script.
 java.lang.String getPasswd()
          Gets the password for the user.
 int getPort()
          Gets the port against which the user addition script should be executed.
 java.io.File getScript()
          Gets the file containing the user creation script.
 java.lang.String getUser()
          Gets the name of the user to be created.
 void setPasswd(java.lang.String passwd)
          Sets the password for the user.
 void setPort(int port)
          Sets the port against which the user addition script should be executed.
 void setScript(java.io.File script)
          Sets the file containing the user creation script.
 void setUser(java.lang.String user)
          Sets the name of the user to be created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailProtocolTestTask.AddUser

public MailProtocolTestTask.AddUser()
Method Detail

getPort

public int getPort()
Gets the port against which the user addition script should be executed.

Returns:
port number

setPort

public void setPort(int port)
Sets the port against which the user addition script should be executed.

Parameters:
port - port number

getPasswd

public java.lang.String getPasswd()
Gets the password for the user.

Returns:
password not null

setPasswd

public void setPasswd(java.lang.String passwd)
Sets the password for the user. This will be passed in the user creation script.

Parameters:
passwd - not null

getUser

public java.lang.String getUser()
Gets the name of the user to be created.

Returns:
user name, not null

setUser

public void setUser(java.lang.String user)
Sets the name of the user to be created.

Parameters:
user - not null

addText

public void addText(java.lang.String scriptText)
Sets user addition script.

Parameters:
scriptText - not null

getScript

public java.io.File getScript()
Gets the file containing the user creation script.

Returns:
not null

setScript

public void setScript(java.io.File script)
Sets the file containing the user creation script.

Parameters:
script - not null


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.