Class UserElement


  • public class UserElement
    extends Object
    Holds configuration data for the <user> tag used to configure the ANT plugin
    • Constructor Detail

      • UserElement

        public UserElement()
    • Method Detail

      • getName

        public String getName()
        Returns:
        User name.
      • setName

        public void setName​(String name)
        Parameters:
        name - User name.
      • getPassword

        public String getPassword()
        Returns:
        User password.
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - User password.
      • addConfiguredRole

        public void addConfiguredRole​(RoleElement roleElement)
        Parameters:
        roleElement - the nested user role
      • createUser

        public User createUser()
        Create user object.
        Returns:
        Cargo user object.