Merge pull request #4500 from rcordovano/develop

Make CaseDetails Serializable for remote events
This commit is contained in:
Richard Cordovano 2019-01-31 09:25:34 -05:00 committed by GitHub
commit d680a3dcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,13 @@
*/ */
package org.sleuthkit.autopsy.casemodule; package org.sleuthkit.autopsy.casemodule;
import java.io.Serializable;
/** /**
* Wrapper to contain the modifiable details of a case, such as case display * Wrapper to contain the modifiable details of a case, such as case display
* name, case number, and examiner related fields. * name, case number, and examiner related fields.
*/ */
public final class CaseDetails { public final class CaseDetails implements Serializable {
private final String caseDisplayName; private final String caseDisplayName;
private final String caseNumber; private final String caseNumber;
@ -48,13 +50,13 @@ public final class CaseDetails {
/** /**
* Create a case details object with the specified values. * Create a case details object with the specified values.
* *
* @param displayName the display name of the case * @param displayName the display name of the case
* @param number the case number * @param number the case number
* @param exName the examiner name * @param exName the examiner name
* @param exPhone the examiner phone number * @param exPhone the examiner phone number
* @param exEmail the examiner email address * @param exEmail the examiner email address
* @param notes the case notes * @param notes the case notes
*/ */
public CaseDetails(String displayName, String number, String exName, String exPhone, String exEmail, String notes) { public CaseDetails(String displayName, String number, String exName, String exPhone, String exEmail, String notes) {
caseDisplayName = displayName; caseDisplayName = displayName;