public enum TransitiveImportMethodAllowance extends Enum<TransitiveImportMethodAllowance>
Enum Constant and Description |
---|
mirror
Only use of the ontology manager is allowed
|
mirrorFallbackToWeb
Use of the ontology mirror is preferred, but in case of failure it is possible to download from the web
|
nowhere
Transitive imports are disallowed
|
web
Only the download from the web is allowed
|
webFallbackToMirror
Download form the web is preferred, but in case of failure it is possible to use the ontology mirror
|
Modifier and Type | Method and Description |
---|---|
List<ImportMethod> |
getAllowedMethods()
Returns an unmodifiable list of allowed import methods
|
static TransitiveImportMethodAllowance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransitiveImportMethodAllowance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransitiveImportMethodAllowance nowhere
public static final TransitiveImportMethodAllowance web
public static final TransitiveImportMethodAllowance webFallbackToMirror
public static final TransitiveImportMethodAllowance mirrorFallbackToWeb
public static final TransitiveImportMethodAllowance mirror
public static TransitiveImportMethodAllowance[] values()
for (TransitiveImportMethodAllowance c : TransitiveImportMethodAllowance.values()) System.out.println(c);
public static TransitiveImportMethodAllowance 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 nullpublic List<ImportMethod> getAllowedMethods()
Copyright © 2023 ART Group, University of Rome, Tor Vergata. All rights reserved.