diff options
author | Robert Fisher | 2010-10-01 15:34:02 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2010-10-01 15:34:02 +0000 |
commit | c8a6d13dd3df14f316869b7af263d0c39d615a44 (patch) | |
tree | 8170bd6dc1bd0ee4244ccf7d7e68b72fc011bb64 /plugins/org.eclipse.osee.ote.message | |
parent | 960e0b7dd329c4dc6a5fcb602ae1923ef115bdf1 (diff) | |
download | org.eclipse.osee-c8a6d13dd3df14f316869b7af263d0c39d615a44.tar.gz org.eclipse.osee-c8a6d13dd3df14f316869b7af263d0c39d615a44.tar.xz org.eclipse.osee-c8a6d13dd3df14f316869b7af263d0c39d615a44.zip |
refactor: Change MessageDefinitionProvider to support multiple providers
Changed MessageDefinitionProvider to no longer have getMetaInfo
since it is a wide-open method with a not will defined interface.
This was replaced with the generateMessageIndex method since that
is the one use case that was being used. This also allows the
provider to be responsible for defining how its internal data
makes it to the MessageSink instead of forcing the caller
to have to know how to interpret the InputStream from getMetaInfo.
Diffstat (limited to 'plugins/org.eclipse.osee.ote.message')
-rw-r--r-- | plugins/org.eclipse.osee.ote.message/src/org/eclipse/osee/ote/message/MessageDefinitionProvider.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ote.message/src/org/eclipse/osee/ote/message/MessageDefinitionProvider.java b/plugins/org.eclipse.osee.ote.message/src/org/eclipse/osee/ote/message/MessageDefinitionProvider.java index 88e5b914a08..088b6cf7772 100644 --- a/plugins/org.eclipse.osee.ote.message/src/org/eclipse/osee/ote/message/MessageDefinitionProvider.java +++ b/plugins/org.eclipse.osee.ote.message/src/org/eclipse/osee/ote/message/MessageDefinitionProvider.java @@ -10,8 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.ote.message; -import java.io.IOException; -import java.io.InputStream; /** * @author Andrew M. Finkbeiner @@ -28,5 +26,5 @@ public interface MessageDefinitionProvider { String minorVersion(); - InputStream getMetaInfo(String id) throws IOException; + void generateMessageIndex(MessageSink sink) throws Exception; } |