Class Addrole

    • Constructor Detail

      • Addrole

        public Addrole()
        All Ant data entities must have a default constructor.
    • Method Detail

      • addRole

        public void addRole​(Role role)
        This method name, 'addRole', is used for derived xml tag 'role' in the load script.
             <role name="role1" description="Tomcat Role for Calendar App" beginTime="0800" endTime="1700" beginDate="20110101" 
                endDate="20111231" beginLockDate="20110601" endLockDate="20110615" dayMask="23456" timeout="60"/>
             <role name="role2" description="Tomcat Role 2 for Calendar App"/>
        role - contains reference to data element targeted for insertion..
      • getRoles

        public List<Role> getRoles()
        Used by FortressAntTask.addRoles() to retrieve list of Roles as defined in input xml file.
        collection containing Roles targeted for insertion.