001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2017.08.21 at 12:02:16 PM IST 006// 007 008 009package com.thed.zblast.parser.model; 010 011import java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlRootElement; 018import javax.xml.bind.annotation.XmlSchemaType; 019import javax.xml.bind.annotation.XmlType; 020import javax.xml.datatype.XMLGregorianCalendar; 021 022 023/** 024 * <p>Java class for anonymous complex type. 025 * 026 * <p>The following schema fragment specifies the expected content contained within this class. 027 * 028 * <pre> 029 * <complexType> 030 * <complexContent> 031 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 032 * <sequence> 033 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 034 * <element name="suite"> 035 * <complexType> 036 * <complexContent> 037 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 038 * <sequence> 039 * <element name="groups" type="{http://www.w3.org/2001/XMLSchema}string"/> 040 * <element name="test"> 041 * <complexType> 042 * <complexContent> 043 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 044 * <sequence> 045 * <element name="class"> 046 * <complexType> 047 * <complexContent> 048 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 049 * <sequence> 050 * <element name="test-method" maxOccurs="unbounded" minOccurs="0"> 051 * <complexType> 052 * <complexContent> 053 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 054 * <sequence> 055 * <element name="exception" minOccurs="0"> 056 * <complexType> 057 * <complexContent> 058 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 059 * <sequence> 060 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 061 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 062 * </sequence> 063 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 064 * </restriction> 065 * </complexContent> 066 * </complexType> 067 * </element> 068 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 069 * </sequence> 070 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 071 * <attribute name="signature" type="{http://www.w3.org/2001/XMLSchema}string" /> 072 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 073 * <attribute name="is-config" type="{http://www.w3.org/2001/XMLSchema}string" /> 074 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}short" /> 075 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 076 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 077 * </restriction> 078 * </complexContent> 079 * </complexType> 080 * </element> 081 * </sequence> 082 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 083 * </restriction> 084 * </complexContent> 085 * </complexType> 086 * </element> 087 * </sequence> 088 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 089 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}int" /> 090 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 091 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 092 * </restriction> 093 * </complexContent> 094 * </complexType> 095 * </element> 096 * </sequence> 097 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 098 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}int" /> 099 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 100 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 101 * </restriction> 102 * </complexContent> 103 * </complexType> 104 * </element> 105 * </sequence> 106 * <attribute name="skipped" type="{http://www.w3.org/2001/XMLSchema}byte" /> 107 * <attribute name="failed" type="{http://www.w3.org/2001/XMLSchema}byte" /> 108 * <attribute name="total" type="{http://www.w3.org/2001/XMLSchema}byte" /> 109 * <attribute name="passed" type="{http://www.w3.org/2001/XMLSchema}byte" /> 110 * </restriction> 111 * </complexContent> 112 * </complexType> 113 * </pre> 114 * 115 * 116 */ 117@XmlAccessorType(XmlAccessType.FIELD) 118@XmlType(name = "", propOrder = { 119 "reporterOutput", 120 "suite" 121}) 122@XmlRootElement(name = "testng-results") 123public class TestngResults { 124 125 @XmlElement(name = "reporter-output", required = true) 126 protected String reporterOutput; 127 @XmlElement(required = true) 128 protected TestngResults.Testsuite suite; 129 @XmlAttribute(name = "skipped") 130 protected Byte skipped; 131 @XmlAttribute(name = "failed") 132 protected Byte failed; 133 @XmlAttribute(name = "total") 134 protected Byte total; 135 @XmlAttribute(name = "passed") 136 protected Byte passed; 137 138 /** 139 * Gets the value of the reporterOutput property. 140 * 141 * @return 142 * possible object is 143 * {@link String } 144 * 145 */ 146 public String getReporterOutput() { 147 return reporterOutput; 148 } 149 150 /** 151 * Sets the value of the reporterOutput property. 152 * 153 * @param value 154 * allowed object is 155 * {@link String } 156 * 157 */ 158 public void setReporterOutput(String value) { 159 this.reporterOutput = value; 160 } 161 162 /** 163 * Gets the value of the suite property. 164 * 165 * @return 166 * possible object is 167 * {@link TestngResults.Suite } 168 * 169 */ 170 public TestngResults.Testsuite getSuite() { 171 return suite; 172 } 173 174 /** 175 * Sets the value of the suite property. 176 * 177 * @param value 178 * allowed object is 179 * {@link TestngResults.Suite } 180 * 181 */ 182 public void setSuite(TestngResults.Testsuite value) { 183 this.suite = value; 184 } 185 186 /** 187 * Gets the value of the skipped property. 188 * 189 * @return 190 * possible object is 191 * {@link Byte } 192 * 193 */ 194 public Byte getSkipped() { 195 return skipped; 196 } 197 198 /** 199 * Sets the value of the skipped property. 200 * 201 * @param value 202 * allowed object is 203 * {@link Byte } 204 * 205 */ 206 public void setSkipped(Byte value) { 207 this.skipped = value; 208 } 209 210 /** 211 * Gets the value of the failed property. 212 * 213 * @return 214 * possible object is 215 * {@link Byte } 216 * 217 */ 218 public Byte getFailed() { 219 return failed; 220 } 221 222 /** 223 * Sets the value of the failed property. 224 * 225 * @param value 226 * allowed object is 227 * {@link Byte } 228 * 229 */ 230 public void setFailed(Byte value) { 231 this.failed = value; 232 } 233 234 /** 235 * Gets the value of the total property. 236 * 237 * @return 238 * possible object is 239 * {@link Byte } 240 * 241 */ 242 public Byte getTotal() { 243 return total; 244 } 245 246 /** 247 * Sets the value of the total property. 248 * 249 * @param value 250 * allowed object is 251 * {@link Byte } 252 * 253 */ 254 public void setTotal(Byte value) { 255 this.total = value; 256 } 257 258 /** 259 * Gets the value of the passed property. 260 * 261 * @return 262 * possible object is 263 * {@link Byte } 264 * 265 */ 266 public Byte getPassed() { 267 return passed; 268 } 269 270 /** 271 * Sets the value of the passed property. 272 * 273 * @param value 274 * allowed object is 275 * {@link Byte } 276 * 277 */ 278 public void setPassed(Byte value) { 279 this.passed = value; 280 } 281 282 283 /** 284 * <p>Java class for anonymous complex type. 285 * 286 * <p>The following schema fragment specifies the expected content contained within this class. 287 * 288 * <pre> 289 * <complexType> 290 * <complexContent> 291 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 292 * <sequence> 293 * <element name="groups" type="{http://www.w3.org/2001/XMLSchema}string"/> 294 * <element name="test"> 295 * <complexType> 296 * <complexContent> 297 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 298 * <sequence> 299 * <element name="class"> 300 * <complexType> 301 * <complexContent> 302 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 303 * <sequence> 304 * <element name="test-method" maxOccurs="unbounded" minOccurs="0"> 305 * <complexType> 306 * <complexContent> 307 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 308 * <sequence> 309 * <element name="exception" minOccurs="0"> 310 * <complexType> 311 * <complexContent> 312 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 313 * <sequence> 314 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 315 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 316 * </sequence> 317 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 318 * </restriction> 319 * </complexContent> 320 * </complexType> 321 * </element> 322 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 323 * </sequence> 324 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 325 * <attribute name="signature" type="{http://www.w3.org/2001/XMLSchema}string" /> 326 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 327 * <attribute name="is-config" type="{http://www.w3.org/2001/XMLSchema}string" /> 328 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}short" /> 329 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 330 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 331 * </restriction> 332 * </complexContent> 333 * </complexType> 334 * </element> 335 * </sequence> 336 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 337 * </restriction> 338 * </complexContent> 339 * </complexType> 340 * </element> 341 * </sequence> 342 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 343 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}int" /> 344 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 345 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 346 * </restriction> 347 * </complexContent> 348 * </complexType> 349 * </element> 350 * </sequence> 351 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 352 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}int" /> 353 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 354 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 355 * </restriction> 356 * </complexContent> 357 * </complexType> 358 * </pre> 359 * 360 * 361 */ 362 @XmlAccessorType(XmlAccessType.FIELD) 363 @XmlType(name = "", propOrder = { 364 "groups", 365 "test" 366 }) 367 public static class Testsuite { 368 369 @XmlElement(required = true) 370 protected String groups; 371 @XmlElement(required = true) 372 protected List<TestngResults.Testsuite.Test> test; 373 @XmlAttribute(name = "name") 374 protected String name; 375 @XmlAttribute(name = "duration-ms") 376 protected Integer durationMs; 377 @XmlAttribute(name = "started-at") 378 @XmlSchemaType(name = "dateTime") 379 protected XMLGregorianCalendar startedAt; 380 @XmlAttribute(name = "finished-at") 381 @XmlSchemaType(name = "dateTime") 382 protected XMLGregorianCalendar finishedAt; 383 384 /** 385 * Gets the value of the groups property. 386 * 387 * @return 388 * possible object is 389 * {@link String } 390 * 391 */ 392 public String getGroups() { 393 return groups; 394 } 395 396 /** 397 * Sets the value of the groups property. 398 * 399 * @param value 400 * allowed object is 401 * {@link String } 402 * 403 */ 404 public void setGroups(String value) { 405 this.groups = value; 406 } 407 408 /** 409 * Gets the value of the test property. 410 * 411 * @return 412 * possible object is 413 * {@link TestngResults.Suite.Test } 414 * 415 */ 416 public List<TestngResults.Testsuite.Test> getTest() { 417 return test; 418 } 419 420 /** 421 * Sets the value of the test property. 422 * 423 * @param value 424 * allowed object is 425 * {@link TestngResults.Suite.Test } 426 * 427 */ 428 public void setTest(List<TestngResults.Testsuite.Test> value) { 429 this.test = value; 430 } 431 432 /** 433 * Gets the value of the name property. 434 * 435 * @return 436 * possible object is 437 * {@link String } 438 * 439 */ 440 public String getName() { 441 return name; 442 } 443 444 /** 445 * Sets the value of the name property. 446 * 447 * @param value 448 * allowed object is 449 * {@link String } 450 * 451 */ 452 public void setName(String value) { 453 this.name = value; 454 } 455 456 /** 457 * Gets the value of the durationMs property. 458 * 459 * @return 460 * possible object is 461 * {@link Integer } 462 * 463 */ 464 public Integer getDurationMs() { 465 return durationMs; 466 } 467 468 /** 469 * Sets the value of the durationMs property. 470 * 471 * @param value 472 * allowed object is 473 * {@link Integer } 474 * 475 */ 476 public void setDurationMs(Integer value) { 477 this.durationMs = value; 478 } 479 480 /** 481 * Gets the value of the startedAt property. 482 * 483 * @return 484 * possible object is 485 * {@link XMLGregorianCalendar } 486 * 487 */ 488 public XMLGregorianCalendar getStartedAt() { 489 return startedAt; 490 } 491 492 /** 493 * Sets the value of the startedAt property. 494 * 495 * @param value 496 * allowed object is 497 * {@link XMLGregorianCalendar } 498 * 499 */ 500 public void setStartedAt(XMLGregorianCalendar value) { 501 this.startedAt = value; 502 } 503 504 /** 505 * Gets the value of the finishedAt property. 506 * 507 * @return 508 * possible object is 509 * {@link XMLGregorianCalendar } 510 * 511 */ 512 public XMLGregorianCalendar getFinishedAt() { 513 return finishedAt; 514 } 515 516 /** 517 * Sets the value of the finishedAt property. 518 * 519 * @param value 520 * allowed object is 521 * {@link XMLGregorianCalendar } 522 * 523 */ 524 public void setFinishedAt(XMLGregorianCalendar value) { 525 this.finishedAt = value; 526 } 527 528 529 /** 530 * <p>Java class for anonymous complex type. 531 * 532 * <p>The following schema fragment specifies the expected content contained within this class. 533 * 534 * <pre> 535 * <complexType> 536 * <complexContent> 537 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 538 * <sequence> 539 * <element name="class"> 540 * <complexType> 541 * <complexContent> 542 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 543 * <sequence> 544 * <element name="test-method" maxOccurs="unbounded" minOccurs="0"> 545 * <complexType> 546 * <complexContent> 547 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 548 * <sequence> 549 * <element name="exception" minOccurs="0"> 550 * <complexType> 551 * <complexContent> 552 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 553 * <sequence> 554 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 555 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 556 * </sequence> 557 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 558 * </restriction> 559 * </complexContent> 560 * </complexType> 561 * </element> 562 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 563 * </sequence> 564 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 565 * <attribute name="signature" type="{http://www.w3.org/2001/XMLSchema}string" /> 566 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 567 * <attribute name="is-config" type="{http://www.w3.org/2001/XMLSchema}string" /> 568 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}short" /> 569 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 570 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 571 * </restriction> 572 * </complexContent> 573 * </complexType> 574 * </element> 575 * </sequence> 576 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 577 * </restriction> 578 * </complexContent> 579 * </complexType> 580 * </element> 581 * </sequence> 582 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 583 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}int" /> 584 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 585 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 586 * </restriction> 587 * </complexContent> 588 * </complexType> 589 * </pre> 590 * 591 * 592 */ 593 @XmlAccessorType(XmlAccessType.FIELD) 594 @XmlType(name = "", propOrder = { 595 "clazz" 596 }) 597 public static class Test { 598 599 @XmlElement(name = "class", required = true) 600 protected List<TestngResults.Testsuite.Test.Class> clazz; 601 @XmlAttribute(name = "name") 602 protected String name; 603 @XmlAttribute(name = "duration-ms") 604 protected Integer durationMs; 605 @XmlAttribute(name = "started-at") 606 @XmlSchemaType(name = "dateTime") 607 protected XMLGregorianCalendar startedAt; 608 @XmlAttribute(name = "finished-at") 609 @XmlSchemaType(name = "dateTime") 610 protected XMLGregorianCalendar finishedAt; 611 612 /** 613 * Gets the value of the clazz property. 614 * 615 * @return 616 * possible object is 617 * {@link TestngResults.Suite.Test.Class } 618 * 619 */ 620 public List<TestngResults.Testsuite.Test.Class> getClazz() { 621 return clazz; 622 } 623 624 /** 625 * Sets the value of the clazz property. 626 * 627 * @param value 628 * allowed object is 629 * {@link TestngResults.Suite.Test.Class } 630 * 631 */ 632 public void setClazz(List<TestngResults.Testsuite.Test.Class> value) { 633 this.clazz = value; 634 } 635 636 /** 637 * Gets the value of the name property. 638 * 639 * @return 640 * possible object is 641 * {@link String } 642 * 643 */ 644 public String getName() { 645 return name; 646 } 647 648 /** 649 * Sets the value of the name property. 650 * 651 * @param value 652 * allowed object is 653 * {@link String } 654 * 655 */ 656 public void setName(String value) { 657 this.name = value; 658 } 659 660 /** 661 * Gets the value of the durationMs property. 662 * 663 * @return 664 * possible object is 665 * {@link Integer } 666 * 667 */ 668 public Integer getDurationMs() { 669 return durationMs; 670 } 671 672 /** 673 * Sets the value of the durationMs property. 674 * 675 * @param value 676 * allowed object is 677 * {@link Integer } 678 * 679 */ 680 public void setDurationMs(Integer value) { 681 this.durationMs = value; 682 } 683 684 /** 685 * Gets the value of the startedAt property. 686 * 687 * @return 688 * possible object is 689 * {@link XMLGregorianCalendar } 690 * 691 */ 692 public XMLGregorianCalendar getStartedAt() { 693 return startedAt; 694 } 695 696 /** 697 * Sets the value of the startedAt property. 698 * 699 * @param value 700 * allowed object is 701 * {@link XMLGregorianCalendar } 702 * 703 */ 704 public void setStartedAt(XMLGregorianCalendar value) { 705 this.startedAt = value; 706 } 707 708 /** 709 * Gets the value of the finishedAt property. 710 * 711 * @return 712 * possible object is 713 * {@link XMLGregorianCalendar } 714 * 715 */ 716 public XMLGregorianCalendar getFinishedAt() { 717 return finishedAt; 718 } 719 720 /** 721 * Sets the value of the finishedAt property. 722 * 723 * @param value 724 * allowed object is 725 * {@link XMLGregorianCalendar } 726 * 727 */ 728 public void setFinishedAt(XMLGregorianCalendar value) { 729 this.finishedAt = value; 730 } 731 732 733 /** 734 * <p>Java class for anonymous complex type. 735 * 736 * <p>The following schema fragment specifies the expected content contained within this class. 737 * 738 * <pre> 739 * <complexType> 740 * <complexContent> 741 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 742 * <sequence> 743 * <element name="test-method" maxOccurs="unbounded" minOccurs="0"> 744 * <complexType> 745 * <complexContent> 746 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 747 * <sequence> 748 * <element name="exception" minOccurs="0"> 749 * <complexType> 750 * <complexContent> 751 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 752 * <sequence> 753 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 754 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 755 * </sequence> 756 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 757 * </restriction> 758 * </complexContent> 759 * </complexType> 760 * </element> 761 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 762 * </sequence> 763 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 764 * <attribute name="signature" type="{http://www.w3.org/2001/XMLSchema}string" /> 765 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 766 * <attribute name="is-config" type="{http://www.w3.org/2001/XMLSchema}string" /> 767 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}short" /> 768 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 769 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 770 * </restriction> 771 * </complexContent> 772 * </complexType> 773 * </element> 774 * </sequence> 775 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 776 * </restriction> 777 * </complexContent> 778 * </complexType> 779 * </pre> 780 * 781 * 782 */ 783 @XmlAccessorType(XmlAccessType.FIELD) 784 @XmlType(name = "", propOrder = { 785 "testMethod" 786 }) 787 public static class Class { 788 789 @XmlElement(name = "test-method") 790 protected List<TestngResults.Testsuite.Test.Class.TestMethod> testMethod; 791 @XmlAttribute(name = "name") 792 protected String name; 793 794 /** 795 * Gets the value of the testMethod property. 796 * 797 * <p> 798 * This accessor method returns a reference to the live list, 799 * not a snapshot. Therefore any modification you make to the 800 * returned list will be present inside the JAXB object. 801 * This is why there is not a <CODE>set</CODE> method for the testMethod property. 802 * 803 * <p> 804 * For example, to add a new item, do as follows: 805 * <pre> 806 * getTestMethod().add(newItem); 807 * </pre> 808 * 809 * 810 * <p> 811 * Objects of the following type(s) are allowed in the list 812 * {@link TestngResults.Suite.Test.Class.TestMethod } 813 * 814 * 815 */ 816 public List<TestngResults.Testsuite.Test.Class.TestMethod> getTestMethod() { 817 if (testMethod == null) { 818 testMethod = new ArrayList<TestngResults.Testsuite.Test.Class.TestMethod>(); 819 } 820 return this.testMethod; 821 } 822 823 /** 824 * Gets the value of the name property. 825 * 826 * @return 827 * possible object is 828 * {@link String } 829 * 830 */ 831 public String getName() { 832 return name; 833 } 834 835 /** 836 * Sets the value of the name property. 837 * 838 * @param value 839 * allowed object is 840 * {@link String } 841 * 842 */ 843 public void setName(String value) { 844 this.name = value; 845 } 846 847 848 /** 849 * <p>Java class for anonymous complex type. 850 * 851 * <p>The following schema fragment specifies the expected content contained within this class. 852 * 853 * <pre> 854 * <complexType> 855 * <complexContent> 856 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 857 * <sequence> 858 * <element name="exception" minOccurs="0"> 859 * <complexType> 860 * <complexContent> 861 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 862 * <sequence> 863 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 864 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 865 * </sequence> 866 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 867 * </restriction> 868 * </complexContent> 869 * </complexType> 870 * </element> 871 * <element name="reporter-output" type="{http://www.w3.org/2001/XMLSchema}string"/> 872 * </sequence> 873 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 874 * <attribute name="signature" type="{http://www.w3.org/2001/XMLSchema}string" /> 875 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 876 * <attribute name="is-config" type="{http://www.w3.org/2001/XMLSchema}string" /> 877 * <attribute name="duration-ms" type="{http://www.w3.org/2001/XMLSchema}short" /> 878 * <attribute name="started-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 879 * <attribute name="finished-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 880 * </restriction> 881 * </complexContent> 882 * </complexType> 883 * </pre> 884 * 885 * 886 */ 887 @XmlAccessorType(XmlAccessType.FIELD) 888 @XmlType(name = "", propOrder = { 889 "exception", 890 "reporterOutput" 891 }) 892 public static class TestMethod { 893 894 protected TestngResults.Testsuite.Test.Class.TestMethod.Exception exception; 895 @XmlElement(name = "reporter-output", required = true) 896 protected String reporterOutput; 897 @XmlAttribute(name = "status") 898 protected String status; 899 @XmlAttribute(name = "signature") 900 protected String signature; 901 @XmlAttribute(name = "name") 902 protected String name; 903 @XmlAttribute(name = "is-config") 904 protected String isConfig; 905 @XmlAttribute(name = "duration-ms") 906 protected Short durationMs; 907 @XmlAttribute(name = "started-at") 908 @XmlSchemaType(name = "dateTime") 909 protected XMLGregorianCalendar startedAt; 910 @XmlAttribute(name = "finished-at") 911 @XmlSchemaType(name = "dateTime") 912 protected XMLGregorianCalendar finishedAt; 913 914 /** 915 * Gets the value of the exception property. 916 * 917 * @return 918 * possible object is 919 * {@link TestngResults.Suite.Test.Class.TestMethod.Exception } 920 * 921 */ 922 public TestngResults.Testsuite.Test.Class.TestMethod.Exception getException() { 923 return exception; 924 } 925 926 /** 927 * Sets the value of the exception property. 928 * 929 * @param value 930 * allowed object is 931 * {@link TestngResults.Suite.Test.Class.TestMethod.Exception } 932 * 933 */ 934 public void setException(TestngResults.Testsuite.Test.Class.TestMethod.Exception value) { 935 this.exception = value; 936 } 937 938 /** 939 * Gets the value of the reporterOutput property. 940 * 941 * @return 942 * possible object is 943 * {@link String } 944 * 945 */ 946 public String getReporterOutput() { 947 return reporterOutput; 948 } 949 950 /** 951 * Sets the value of the reporterOutput property. 952 * 953 * @param value 954 * allowed object is 955 * {@link String } 956 * 957 */ 958 public void setReporterOutput(String value) { 959 this.reporterOutput = value; 960 } 961 962 /** 963 * Gets the value of the status property. 964 * 965 * @return 966 * possible object is 967 * {@link String } 968 * 969 */ 970 public String getStatus() { 971 return status; 972 } 973 974 /** 975 * Sets the value of the status property. 976 * 977 * @param value 978 * allowed object is 979 * {@link String } 980 * 981 */ 982 public void setStatus(String value) { 983 this.status = value; 984 } 985 986 /** 987 * Gets the value of the signature property. 988 * 989 * @return 990 * possible object is 991 * {@link String } 992 * 993 */ 994 public String getSignature() { 995 return signature; 996 } 997 998 /** 999 * Sets the value of the signature property. 1000 * 1001 * @param value 1002 * allowed object is 1003 * {@link String } 1004 * 1005 */ 1006 public void setSignature(String value) { 1007 this.signature = value; 1008 } 1009 1010 /** 1011 * Gets the value of the name property. 1012 * 1013 * @return 1014 * possible object is 1015 * {@link String } 1016 * 1017 */ 1018 public String getName() { 1019 return name; 1020 } 1021 1022 /** 1023 * Sets the value of the name property. 1024 * 1025 * @param value 1026 * allowed object is 1027 * {@link String } 1028 * 1029 */ 1030 public void setName(String value) { 1031 this.name = value; 1032 } 1033 1034 /** 1035 * Gets the value of the isConfig property. 1036 * 1037 * @return 1038 * possible object is 1039 * {@link String } 1040 * 1041 */ 1042 public String getIsConfig() { 1043 return isConfig; 1044 } 1045 1046 /** 1047 * Sets the value of the isConfig property. 1048 * 1049 * @param value 1050 * allowed object is 1051 * {@link String } 1052 * 1053 */ 1054 public void setIsConfig(String value) { 1055 this.isConfig = value; 1056 } 1057 1058 /** 1059 * Gets the value of the durationMs property. 1060 * 1061 * @return 1062 * possible object is 1063 * {@link Short } 1064 * 1065 */ 1066 public Short getDurationMs() { 1067 return durationMs; 1068 } 1069 1070 /** 1071 * Sets the value of the durationMs property. 1072 * 1073 * @param value 1074 * allowed object is 1075 * {@link Short } 1076 * 1077 */ 1078 public void setDurationMs(Short value) { 1079 this.durationMs = value; 1080 } 1081 1082 /** 1083 * Gets the value of the startedAt property. 1084 * 1085 * @return 1086 * possible object is 1087 * {@link XMLGregorianCalendar } 1088 * 1089 */ 1090 public XMLGregorianCalendar getStartedAt() { 1091 return startedAt; 1092 } 1093 1094 /** 1095 * Sets the value of the startedAt property. 1096 * 1097 * @param value 1098 * allowed object is 1099 * {@link XMLGregorianCalendar } 1100 * 1101 */ 1102 public void setStartedAt(XMLGregorianCalendar value) { 1103 this.startedAt = value; 1104 } 1105 1106 /** 1107 * Gets the value of the finishedAt property. 1108 * 1109 * @return 1110 * possible object is 1111 * {@link XMLGregorianCalendar } 1112 * 1113 */ 1114 public XMLGregorianCalendar getFinishedAt() { 1115 return finishedAt; 1116 } 1117 1118 /** 1119 * Sets the value of the finishedAt property. 1120 * 1121 * @param value 1122 * allowed object is 1123 * {@link XMLGregorianCalendar } 1124 * 1125 */ 1126 public void setFinishedAt(XMLGregorianCalendar value) { 1127 this.finishedAt = value; 1128 } 1129 1130 1131 /** 1132 * <p>Java class for anonymous complex type. 1133 * 1134 * <p>The following schema fragment specifies the expected content contained within this class. 1135 * 1136 * <pre> 1137 * <complexType> 1138 * <complexContent> 1139 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1140 * <sequence> 1141 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 1142 * <element name="full-stacktrace" type="{http://www.w3.org/2001/XMLSchema}string"/> 1143 * </sequence> 1144 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 1145 * </restriction> 1146 * </complexContent> 1147 * </complexType> 1148 * </pre> 1149 * 1150 * 1151 */ 1152 @XmlAccessorType(XmlAccessType.FIELD) 1153 @XmlType(name = "", propOrder = { 1154 "message", 1155 "fullStacktrace" 1156 }) 1157 public static class Exception { 1158 1159 @XmlElement(required = true) 1160 protected String message; 1161 @XmlElement(name = "full-stacktrace", required = true) 1162 protected String fullStacktrace; 1163 @XmlAttribute(name = "class") 1164 protected String clazz; 1165 1166 /** 1167 * Gets the value of the message property. 1168 * 1169 * @return 1170 * possible object is 1171 * {@link String } 1172 * 1173 */ 1174 public String getMessage() { 1175 return message; 1176 } 1177 1178 /** 1179 * Sets the value of the message property. 1180 * 1181 * @param value 1182 * allowed object is 1183 * {@link String } 1184 * 1185 */ 1186 public void setMessage(String value) { 1187 this.message = value; 1188 } 1189 1190 /** 1191 * Gets the value of the fullStacktrace property. 1192 * 1193 * @return 1194 * possible object is 1195 * {@link String } 1196 * 1197 */ 1198 public String getFullStacktrace() { 1199 return fullStacktrace; 1200 } 1201 1202 /** 1203 * Sets the value of the fullStacktrace property. 1204 * 1205 * @param value 1206 * allowed object is 1207 * {@link String } 1208 * 1209 */ 1210 public void setFullStacktrace(String value) { 1211 this.fullStacktrace = value; 1212 } 1213 1214 /** 1215 * Gets the value of the clazz property. 1216 * 1217 * @return 1218 * possible object is 1219 * {@link String } 1220 * 1221 */ 1222 public String getClazz() { 1223 return clazz; 1224 } 1225 1226 /** 1227 * Sets the value of the clazz property. 1228 * 1229 * @param value 1230 * allowed object is 1231 * {@link String } 1232 * 1233 */ 1234 public void setClazz(String value) { 1235 this.clazz = value; 1236 } 1237 1238 } 1239 1240 } 1241 1242 } 1243 1244 } 1245 1246 } 1247 1248}