Moved Report and ReportID to their own sub-package
This commit is contained in:
parent
be15297cc5
commit
4b101bb183
4 changed files with 12 additions and 10 deletions
|
@ -617,7 +617,7 @@ public class DetektOperation extends AbstractProcessOperation<DetektOperation> {
|
|||
* @param reports one or more reports
|
||||
* @return this operation instance
|
||||
*/
|
||||
public DetektOperation report(DetektReport... reports) {
|
||||
public DetektOperation report(Report... reports) {
|
||||
report_.addAll(List.of(reports));
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package rife.bld.extension;
|
||||
package rife.bld.extension.detekt;
|
||||
|
||||
/**
|
||||
* Defines a report for the given report-id to be stored on the given path.
|
||||
|
@ -24,5 +24,5 @@ package rife.bld.extension;
|
|||
* @author <a href="https://erik.thauvin.net/">Erik C. Thauvin</a>
|
||||
* @since 1.0
|
||||
*/
|
||||
public record DetektReport(DetektReportId id, String path) {
|
||||
public record Report(ReportId id, String path) {
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package rife.bld.extension;
|
||||
package rife.bld.extension.detekt;
|
||||
|
||||
/**
|
||||
* The report-id values.
|
||||
|
@ -22,6 +22,6 @@ package rife.bld.extension;
|
|||
* @author <a href="https://erik.thauvin.net/">Erik C. Thauvin</a>
|
||||
* @since 1.0
|
||||
*/
|
||||
public enum DetektReportId {
|
||||
public enum ReportId {
|
||||
TXT, XML, HTML, MD, SARIF
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue