ComponentWithBrowseButton - optional remove listener on hide
[fedora-idea.git] / platform / platform-impl / src / com / intellij / errorreport / bean / ErrorBean.java
blob39ba8bb81a18a595b7c85b776c0dd1c2c48b97c8
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.errorreport.bean;
18 import com.intellij.util.SystemProperties;
20 import java.util.Date;
22 import org.jetbrains.annotations.NonNls;
24 /**
25 * Created by IntelliJ IDEA.
26 * User: stathik
27 * Date: May 5, 2003
28 * Time: 9:34:26 PM
29 * To change this template use Options | File Templates.
31 public class ErrorBean {
32 private String notifierId;
33 private String exceptionHashCode;
34 private Date date;
35 private String os;
36 private String lastAction;
37 private String description;
39 public void autoInit () {
40 os = SystemProperties.getOsName();
41 date = new Date();
44 public String getNotifierId() {
45 return notifierId;
48 public void setNotifierId(String notifierId) {
49 this.notifierId = notifierId;
52 public Date getDate() {
53 return date;
56 public void setDate(Date date) {
57 this.date = date;
60 public String getOs() {
61 return os;
64 public void setOs(String os) {
65 this.os = os;
68 public String getLastAction() {
69 return lastAction;
72 public void setLastAction(String lastAction) {
73 this.lastAction = lastAction;
76 public String getDescription() {
77 return description;
80 public void setDescription(@NonNls String description) {
81 this.description = description;
84 public String getExceptionHashCode() {
85 return exceptionHashCode;
88 public void setExceptionHashCode(String exceptionId) {
89 exceptionHashCode = exceptionId;