public enum MissingImportHandlingStrategy extends Enum<MissingImportHandlingStrategy>
Enum Constant and Description |
---|
SILENT
Specifies that an
UnloadableImportException will NOT be thrown
during ontology loading if an import cannot be loaded (for what ever
reason). |
THROW_EXCEPTION
Specifies that an
UnloadableImportException WILL be thrown during
ontology loading if an import cannot be loaded. |
Modifier and Type | Method and Description |
---|---|
static MissingImportHandlingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MissingImportHandlingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MissingImportHandlingStrategy SILENT
UnloadableImportException
will NOT be thrown
during ontology loading if an import cannot be loaded (for what ever
reason). Instead, any registered MissingImportListener
s will be
informed of the problem via their
MissingImportListener.importMissing(MissingImportEvent)
method.public static final MissingImportHandlingStrategy THROW_EXCEPTION
UnloadableImportException
WILL be thrown during
ontology loading if an import cannot be loaded.public static MissingImportHandlingStrategy[] values()
for (MissingImportHandlingStrategy c : MissingImportHandlingStrategy.values()) System.out.println(c);
public static MissingImportHandlingStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 The University of Manchester. All Rights Reserved.