From 2e32e5ad8ba4e601906482ac2439737cdca218d2 Mon Sep 17 00:00:00 2001 From: Oliver Spohngellert Date: Fri, 8 Jan 2016 16:50:39 -0500 Subject: [PATCH 1/3] Updated to reflect use of BlackboardArtifact.Type (unfinished) --- .../sleuthkit/autopsy/datamodel/EmailExtracted.java | 2 +- .../autopsy/datamodel/ExtractedContent.java | 10 +++++----- .../org/sleuthkit/autopsy/datamodel/HashsetHits.java | 2 +- .../sleuthkit/autopsy/datamodel/InterestingHits.java | 4 ++-- .../org/sleuthkit/autopsy/datamodel/KeywordHits.java | 2 +- .../sleuthkit/autopsy/ingest/ModuleDataEvent.java | 12 ++++++------ .../autopsy/ingest/events/BlackboardPostEvent.java | 6 +++--- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java b/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java index 7ef1b872db..732beee904 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java @@ -226,7 +226,7 @@ public class EmailExtracted implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId() == BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG.getTypeID()) { + if (null != eventData && eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG.getTypeID()) { emailResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java b/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java index dc50e6a024..bb1fafa126 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java @@ -167,7 +167,7 @@ public class ExtractedContent implements AutopsyVisitableItem { if (null != event) { boolean passed = true; for(BlackboardArtifact.ARTIFACT_TYPE type: doNotShow) { - if(type.getTypeID() == event.getArtifactTypeId()) { + if(type.getTypeID() == event.getArtifactTypeId().getTypeID()) { passed = false; } } @@ -225,9 +225,9 @@ public class ExtractedContent implements AutopsyVisitableItem { if (skCase != null) { try { List inUse = new ArrayList<>(); - List types = skCase.getArtifactTypesInUse(); - for (Integer i: types) { - inUse.add(BlackboardArtifact.ARTIFACT_TYPE.fromID(i)); + List types = skCase.getArtifactTypesInUse(); + for (BlackboardArtifact.Type type: types) { + inUse.add(BlackboardArtifact.ARTIFACT_TYPE.fromID(type.getTypeID())); } inUse.removeAll(doNotShow); Collections.sort(inUse, @@ -424,7 +424,7 @@ public class ExtractedContent implements AutopsyVisitableItem { * for the event to have a null oldValue. */ final ModuleDataEvent event = (ModuleDataEvent) evt.getOldValue(); - if (null != event && event.getArtifactTypeId() == type.getTypeID()) { + if (null != event && event.getArtifactTypeId().getTypeID() == type.getTypeID()) { refresh(true); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java index 4d4da97efc..d00384c561 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java @@ -204,7 +204,7 @@ public class HashsetHits implements AutopsyVisitableItem { * oldValue if the event is a remote event. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId() == ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID()) { + if (null != eventData && eventData.getArtifactTypeId().getTypeID() == ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID()) { hashsetResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java index 3aaa09bf83..0d3f5c4876 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java @@ -195,8 +195,8 @@ public class InterestingHits implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && (eventData.getArtifactTypeId() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID() - || eventData.getArtifactTypeId() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID())) { + if (null != eventData && (eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID() + || eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID())) { interestingResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java index 251b784ffb..c497c2eecd 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java @@ -268,7 +268,7 @@ public class KeywordHits implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId() == BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) { + if (null != eventData && eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) { keywordResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java index 8459376bd9..7f16dd8f1c 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java @@ -50,7 +50,7 @@ public class ModuleDataEvent extends ChangeEvent { private String moduleName; private ARTIFACT_TYPE artifactType; - private int artifactTypeId; + private BlackboardArtifact.Type artifactTypeId; private Collection artifacts; /** @@ -59,7 +59,7 @@ public class ModuleDataEvent extends ChangeEvent { */ public ModuleDataEvent(String moduleName, ARTIFACT_TYPE artifactType) { super(artifactType); - this.artifactTypeId = artifactType.getTypeID(); + this.artifactTypeId = BlackboardArtifact.typeFactory(artifactType); this.moduleName = moduleName; this.artifactType = artifactType; } @@ -68,8 +68,8 @@ public class ModuleDataEvent extends ChangeEvent { * @param moduleName Module name * @param artifactTypeId ID of the type of artifact posted to the blackboard */ - public ModuleDataEvent(String moduleName, int artifactTypeId) { - super(ARTIFACT_TYPE.fromID(artifactTypeId)); + public ModuleDataEvent(String moduleName, BlackboardArtifact.Type artifactTypeId) { + super(ARTIFACT_TYPE.fromID(artifactTypeId.getTypeID())); this.artifactTypeId = artifactTypeId; this.moduleName = moduleName; } @@ -80,7 +80,7 @@ public class ModuleDataEvent extends ChangeEvent { * @param artifacts List of specific artifact ID values that were added to * blackboard */ - public ModuleDataEvent(String moduleName, int artifactTypeId, Collection artifacts) { + public ModuleDataEvent(String moduleName, BlackboardArtifact.Type artifactTypeId, Collection artifacts) { this(moduleName, artifactTypeId); this.artifacts = artifacts; } @@ -100,7 +100,7 @@ public class ModuleDataEvent extends ChangeEvent { * Gets the ID of the new artifacts associated with the event * @return The artifact ID */ - public int getArtifactTypeId() { + public BlackboardArtifact.Type getArtifactTypeId() { return this.artifactTypeId; } diff --git a/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java b/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java index 527eb61fb9..872d0041b2 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java @@ -61,7 +61,7 @@ public final class BlackboardPostEvent extends AutopsyEvent implements Serializa */ super( IngestManager.IngestModuleEvent.DATA_ADDED.toString(), - new SerializableEventData(eventData.getModuleName(), eventData.getArtifactTypeId(), eventData.getArtifacts() != null + new SerializableEventData(eventData.getModuleName(), eventData.getArtifactTypeId() , eventData.getArtifacts() != null ? eventData.getArtifacts() .stream() .map(BlackboardArtifact::getArtifactID) @@ -112,10 +112,10 @@ public final class BlackboardPostEvent extends AutopsyEvent implements Serializa private static final long serialVersionUID = 1L; private final String moduleName; - private int artifactTypeId; + private BlackboardArtifact.Type artifactTypeId; private Collection artifactIds; - private SerializableEventData(String moduleName, int artifactTypeId, Collection artifactIds) { + private SerializableEventData(String moduleName, BlackboardArtifact.Type artifactTypeId, Collection artifactIds) { this.moduleName = moduleName; this.artifactTypeId = artifactTypeId; this.artifactIds = new ArrayList<>(artifactIds); From 93a4d386f28b186b7f44da2762e1f4e4268d32e4 Mon Sep 17 00:00:00 2001 From: Oliver Spohngellert Date: Mon, 11 Jan 2016 11:10:49 -0500 Subject: [PATCH 2/3] Added ARTIFACT-TYPE to type class --- .../autopsy/datamodel/EmailExtracted.java | 2 +- .../autopsy/datamodel/ExtractedContent.java | 4 +-- .../autopsy/datamodel/HashsetHits.java | 2 +- .../autopsy/datamodel/InterestingHits.java | 4 +-- .../autopsy/datamodel/KeywordHits.java | 2 +- .../autopsy/ingest/ModuleDataEvent.java | 31 ++++++++++--------- .../ingest/events/BlackboardPostEvent.java | 2 +- 7 files changed, 25 insertions(+), 22 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java b/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java index 732beee904..cb87b1fa53 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/EmailExtracted.java @@ -226,7 +226,7 @@ public class EmailExtracted implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG.getTypeID()) { + if (null != eventData && eventData.getBlackboardArtifactType().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG.getTypeID()) { emailResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java b/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java index bb1fafa126..bdc98adb43 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/ExtractedContent.java @@ -167,7 +167,7 @@ public class ExtractedContent implements AutopsyVisitableItem { if (null != event) { boolean passed = true; for(BlackboardArtifact.ARTIFACT_TYPE type: doNotShow) { - if(type.getTypeID() == event.getArtifactTypeId().getTypeID()) { + if(type.getTypeID() == event.getBlackboardArtifactType().getTypeID()) { passed = false; } } @@ -424,7 +424,7 @@ public class ExtractedContent implements AutopsyVisitableItem { * for the event to have a null oldValue. */ final ModuleDataEvent event = (ModuleDataEvent) evt.getOldValue(); - if (null != event && event.getArtifactTypeId().getTypeID() == type.getTypeID()) { + if (null != event && event.getBlackboardArtifactType().getTypeID() == type.getTypeID()) { refresh(true); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java index d00384c561..60855fe8a0 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java @@ -204,7 +204,7 @@ public class HashsetHits implements AutopsyVisitableItem { * oldValue if the event is a remote event. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId().getTypeID() == ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID()) { + if (null != eventData && eventData.getBlackboardArtifactType().getTypeID() == ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID()) { hashsetResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java index 0d3f5c4876..e69dfd75b5 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/InterestingHits.java @@ -195,8 +195,8 @@ public class InterestingHits implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && (eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID() - || eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID())) { + if (null != eventData && (eventData.getBlackboardArtifactType().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID() + || eventData.getBlackboardArtifactType().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID())) { interestingResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java index c497c2eecd..77be04dd6d 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java @@ -268,7 +268,7 @@ public class KeywordHits implements AutopsyVisitableItem { * for the event to have a null oldValue. */ ModuleDataEvent eventData = (ModuleDataEvent) evt.getOldValue(); - if (null != eventData && eventData.getArtifactTypeId().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) { + if (null != eventData && eventData.getBlackboardArtifactType().getTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) { keywordResults.update(); } } catch (IllegalStateException notUsed) { diff --git a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java index 7f16dd8f1c..59ae7dcce3 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java @@ -50,7 +50,7 @@ public class ModuleDataEvent extends ChangeEvent { private String moduleName; private ARTIFACT_TYPE artifactType; - private BlackboardArtifact.Type artifactTypeId; + private BlackboardArtifact.Type blackboardArtifactType; private Collection artifacts; /** @@ -59,7 +59,7 @@ public class ModuleDataEvent extends ChangeEvent { */ public ModuleDataEvent(String moduleName, ARTIFACT_TYPE artifactType) { super(artifactType); - this.artifactTypeId = BlackboardArtifact.typeFactory(artifactType); + this.blackboardArtifactType = new BlackboardArtifact.Type(artifactType); this.moduleName = moduleName; this.artifactType = artifactType; } @@ -68,9 +68,9 @@ public class ModuleDataEvent extends ChangeEvent { * @param moduleName Module name * @param artifactTypeId ID of the type of artifact posted to the blackboard */ - public ModuleDataEvent(String moduleName, BlackboardArtifact.Type artifactTypeId) { - super(ARTIFACT_TYPE.fromID(artifactTypeId.getTypeID())); - this.artifactTypeId = artifactTypeId; + public ModuleDataEvent(String moduleName, BlackboardArtifact.Type blackboardArtifactType) { + super(ARTIFACT_TYPE.fromID(blackboardArtifactType.getTypeID())); + this.blackboardArtifactType = blackboardArtifactType; this.moduleName = moduleName; } @@ -80,8 +80,8 @@ public class ModuleDataEvent extends ChangeEvent { * @param artifacts List of specific artifact ID values that were added to * blackboard */ - public ModuleDataEvent(String moduleName, BlackboardArtifact.Type artifactTypeId, Collection artifacts) { - this(moduleName, artifactTypeId); + public ModuleDataEvent(String moduleName, BlackboardArtifact.Type blackboardArtifactType, Collection artifacts) { + this(moduleName, blackboardArtifactType); this.artifacts = artifacts; } @@ -95,13 +95,15 @@ public class ModuleDataEvent extends ChangeEvent { this(moduleName, artifactType); this.artifacts = artifacts; } - + /** - * Gets the ID of the new artifacts associated with the event - * @return The artifact ID + * Gets the blackboard artifact type of the new artifacts associated with + * the event + * + * @return The blackboard artifact type */ - public BlackboardArtifact.Type getArtifactTypeId() { - return this.artifactTypeId; + public BlackboardArtifact.Type getBlackboardArtifactType() { + return this.blackboardArtifactType; } /** @@ -114,8 +116,9 @@ public class ModuleDataEvent extends ChangeEvent { } /** - * get artifact type of the new artifacts associated with the event - * If it is a user defined artifact, it will return null + * get artifact type of the new artifacts associated with the event If it is + * a user defined artifact, it will return null + * * @return the artifact type */ public ARTIFACT_TYPE getArtifactType() { diff --git a/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java b/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java index 872d0041b2..a63b3893e9 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/events/BlackboardPostEvent.java @@ -61,7 +61,7 @@ public final class BlackboardPostEvent extends AutopsyEvent implements Serializa */ super( IngestManager.IngestModuleEvent.DATA_ADDED.toString(), - new SerializableEventData(eventData.getModuleName(), eventData.getArtifactTypeId() , eventData.getArtifacts() != null + new SerializableEventData(eventData.getModuleName(), eventData.getBlackboardArtifactType() , eventData.getArtifacts() != null ? eventData.getArtifacts() .stream() .map(BlackboardArtifact::getArtifactID) From a5d5ad787447114d1224315de554d4a7f50733ef Mon Sep 17 00:00:00 2001 From: Oliver Spohngellert Date: Mon, 11 Jan 2016 14:59:54 -0500 Subject: [PATCH 3/3] Updated ModuleDataEvent to handle Type well. --- .../autopsy/ingest/ModuleDataEvent.java | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java index 59ae7dcce3..652c6d8645 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/ModuleDataEvent.java @@ -49,7 +49,6 @@ import org.sleuthkit.datamodel.BlackboardArtifact.ARTIFACT_TYPE; public class ModuleDataEvent extends ChangeEvent { private String moduleName; - private ARTIFACT_TYPE artifactType; private BlackboardArtifact.Type blackboardArtifactType; private Collection artifacts; @@ -57,26 +56,27 @@ public class ModuleDataEvent extends ChangeEvent { * @param moduleName Module name * @param artifactType Type of artifact that was posted to blackboard */ + @Deprecated public ModuleDataEvent(String moduleName, ARTIFACT_TYPE artifactType) { super(artifactType); - this.blackboardArtifactType = new BlackboardArtifact.Type(artifactType); + this.blackboardArtifactType = new BlackboardArtifact.Type(artifactType.getTypeID(), artifactType.getLabel(), artifactType.getDisplayName()); this.moduleName = moduleName; - this.artifactType = artifactType; } /** - * @param moduleName Module name - * @param artifactTypeId ID of the type of artifact posted to the blackboard + * @param moduleName Module Name + * @param blackboardArtifactType Type of the blackboard artifact posted to + * the blackboard */ public ModuleDataEvent(String moduleName, BlackboardArtifact.Type blackboardArtifactType) { - super(ARTIFACT_TYPE.fromID(blackboardArtifactType.getTypeID())); + super(blackboardArtifactType); this.blackboardArtifactType = blackboardArtifactType; this.moduleName = moduleName; } /** * @param moduleName Module name - * @param artifactTypeId ID of the type of artifact posted to the blackboard + * @param blackboardArtifactType Type of artifact posted to the blackboard * @param artifacts List of specific artifact ID values that were added to * blackboard */ @@ -91,6 +91,7 @@ public class ModuleDataEvent extends ChangeEvent { * @param artifacts List of specific artifact values that were added to * blackboard */ + @Deprecated public ModuleDataEvent(String moduleName, ARTIFACT_TYPE artifactType, Collection artifacts) { this(moduleName, artifactType); this.artifacts = artifacts; @@ -114,17 +115,6 @@ public class ModuleDataEvent extends ChangeEvent { public Collection getArtifacts() { return artifacts; } - - /** - * get artifact type of the new artifacts associated with the event If it is - * a user defined artifact, it will return null - * - * @return the artifact type - */ - public ARTIFACT_TYPE getArtifactType() { - return artifactType; - } - /** * get module name that created the artifacts and fired the event *