find usages & validation in project structure reworked
[fedora-idea.git] / java / idea-ui / src / com / intellij / openapi / roots / ui / configuration / projectRoot / daemon / ProjectStructureProblemDescription.java
blobfa12df0d06e65c9e28e04969da2f1c1bef96eb6c
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 package com.intellij.openapi.roots.ui.configuration.projectRoot.daemon;
18 /**
19 * @author nik
21 public class ProjectStructureProblemDescription {
22 private String myMessage;
23 private final Severity mySeverity;
25 public ProjectStructureProblemDescription(String message, Severity severity) {
26 myMessage = message;
27 mySeverity = severity;
30 public String getMessage() {
31 return myMessage;
34 public Severity getSeverity() {
35 return mySeverity;
38 public enum Severity { ERROR, WARNING }