Skip to content

Commit 1a41c6c

Browse files
committed
Move Enum AnalysisType for future common usage
1 parent a8c2445 commit 1a41c6c

3 files changed

Lines changed: 22 additions & 6 deletions

File tree

license-header

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2023 Red Hat, Inc.
2+
* Copyright © $YEAR Red Hat, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright © 2025 Red Hat, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package com.redhat.exhort.providers;
17+
18+
public enum AnalysisType {
19+
STACK,
20+
COMPONENT
21+
}

src/main/java/com/redhat/exhort/providers/GradleProvider.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ public GradleProvider(Path manifest) {
6262
super(Type.GRADLE, manifest);
6363
}
6464

65-
public enum AnalysisType {
66-
STACK,
67-
COMPONENT
68-
}
69-
7065
@Override
7166
public Content provideStack() throws IOException {
7267
Path tempFile = getDependencies(manifest);

0 commit comments

Comments
 (0)