|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.extensionmodule.ExtensionModuleTypes
public class ExtensionModuleTypes
This names of extension module types which are known and supported.
If all that is needed is the Collection of all known module types,
without needing to programatically distinguish between them, use the
getSourceTypes
method of
ExtensionModuleManager
:
ExtensionModuleManager.getInstance()
.getSourceTypes
Field Summary | |
---|---|
static java.lang.String |
CONFIGURATION_MODEL_TYPE
The name of the Configuration Model type of extension module. |
static java.lang.String |
FUNCTION_DEFINITION_TYPE
The name of the Function Definition type of extension module. |
static java.lang.String |
JAR_FILE_TYPE
The name of the JAR file type of extension module - this is the only type of extension module that can be searched for Class objects |
static java.lang.String |
METADATA_KEYWORD_TYPE
The name of the Metadata Keyword type of extension module. |
static java.lang.String |
METAMODEL_EXTENSION_TYPE
The name of the Metamodel Extension type of extension module. |
static java.lang.String |
MISC_FILE_TYPE
The name of the miscellaneous File type of extension module. |
static java.lang.String |
VDB_FILE_TYPE
The name of the VDB File type of extension module. |
Constructor Summary | |
---|---|
ExtensionModuleTypes()
|
Method Summary | |
---|---|
static void |
checkTypeIsValid(java.lang.String typeName)
Calls to isValidType(java.lang.String) and throws an
InvalidExtensionTypeException if that method returns
false. |
static boolean |
isValidType(java.lang.String typeName)
Indicates whether the type name in question is a valid type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JAR_FILE_TYPE
public static final java.lang.String METADATA_KEYWORD_TYPE
public static final java.lang.String METAMODEL_EXTENSION_TYPE
public static final java.lang.String FUNCTION_DEFINITION_TYPE
public static final java.lang.String CONFIGURATION_MODEL_TYPE
public static final java.lang.String VDB_FILE_TYPE
public static final java.lang.String MISC_FILE_TYPE
Constructor Detail |
---|
public ExtensionModuleTypes()
Method Detail |
---|
public static boolean isValidType(java.lang.String typeName)
typeName
- name of type in question
public static void checkTypeIsValid(java.lang.String typeName) throws InvalidExtensionModuleTypeException
isValidType(java.lang.String)
and throws an
InvalidExtensionTypeException if that method returns
false.
typeName
- name of type in question
InvalidExtensionTypeException
- if typeName is not a valid
type
InvalidExtensionModuleTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |