```{index} single: Test2::EventFacet ``` # Test2::EventFacet Base class for all event facets. ## DESCRIPTION Base class for all event facets. ## METHODS - $key = $facet\_class->facet\_key() This will return the key for the facet in the facet data hash. - $bool = $facet\_class->is\_list() This will return true if the facet should be in a list instead of a single item. - $clone = $facet->clone() - $clone = $facet->clone(%replace) This will make a shallow clone of the facet. You may specify fields to override as arguments. ## SOURCE The source code repository for Test2 can be found at [https://github.com/Test-More/test-more/](https://github.com/Test-More/test-more/). ## MAINTAINERS - Chad Granum ## AUTHORS - Chad Granum ## COPYRIGHT Copyright Chad Granum . This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See [https://dev.perl.org/licenses/](https://dev.perl.org/licenses/) ## Modules - [`Test2::EventFacet::About`](EventFacet/About.md) - Facet with event details. - [`Test2::EventFacet::Amnesty`](EventFacet/Amnesty.md) - Facet for assertion amnesty. - [`Test2::EventFacet::Assert`](EventFacet/Assert.md) - Facet representing an assertion. - [`Test2::EventFacet::Control`](EventFacet/Control.md) - Facet for hub actions and behaviors. - [`Test2::EventFacet::Error`](EventFacet/Error.md) - Facet for errors that need to be shown. - [`Test2::EventFacet::Hub`](EventFacet/Hub.md) - Facet for the hubs an event passes through. - [`Test2::EventFacet::Info`](EventFacet/Info.md) - Facet for information a developer might care about. - [`Test2::EventFacet::Meta`](EventFacet/Meta.md) - Facet for meta-data - [`Test2::EventFacet::Parent`](EventFacet/Parent.md) - Facet for events contains other events - [`Test2::EventFacet::Plan`](EventFacet/Plan.md) - Facet for setting the plan - [`Test2::EventFacet::Render`](EventFacet/Render.md) - Facet that dictates how to render an event. - [`Test2::EventFacet::Trace`](EventFacet/Trace.md) - Debug information for events ```{toctree} :hidden: :maxdepth: 1 EventFacet/About EventFacet/Amnesty EventFacet/Assert EventFacet/Control EventFacet/Error EventFacet/Hub EventFacet/Info EventFacet/Meta EventFacet/Parent EventFacet/Plan EventFacet/Render EventFacet/Trace ```