Skip to content

Commit

Permalink
Issues gathering annotation add
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Feb 21, 2024
1 parent a363d2a commit 8f2f08d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/epam/reportportal/annotations/Issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
@Target(ElementType.METHOD)
@Repeatable(Issues.class)
public @interface Issue {
/**
* Type (Locator), Short Name (Abbreviation) or Long Name (Defect name) (specified by priority) of an Issue on ReportPortal for
Expand Down
30 changes: 30 additions & 0 deletions src/main/java/com/epam/reportportal/annotations/Issues.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright 2024 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.epam.reportportal.annotations;

import java.lang.annotation.*;

/**
* Gathering annotation for {@link Issue}
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Issues {
Issue[] value();
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.lang.annotation.*;

/**
* Gathering annotation for {@link TmsLink}/
* Gathering annotation for {@link TmsLink}
*/
@Documented
@Inherited
Expand Down

0 comments on commit 8f2f08d

Please sign in to comment.