public enum TeiidArtifactType extends Enum<TeiidArtifactType> implements TeiidExtendedType
| Enum Constant and Description |
|---|
MODEL
The Teiid model, or schema, file extended artifact type.
|
VDB
The Teiid VDB file extended artifact type.
|
VDB_MANIFEST
The VDB manifest file extended artifact type.
|
| Modifier and Type | Method and Description |
|---|---|
TeiidExtendedType |
convert(String proposedExtendedType) |
String |
extendedType() |
boolean |
isValid(String proposedExtendedType) |
static TeiidArtifactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TeiidArtifactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TeiidArtifactType MODEL
public static final TeiidArtifactType VDB
public static final TeiidArtifactType VDB_MANIFEST
public static TeiidArtifactType[] values()
for (TeiidArtifactType c : TeiidArtifactType.values()) System.out.println(c);
public static TeiidArtifactType 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 TeiidExtendedType convert(String proposedExtendedType)
convert in interface TeiidExtendedTypeproposedExtendedType - the type being checked (can be null or empty)null)TeiidExtendedType.convert(java.lang.String)public String extendedType()
extendedType in interface TeiidExtendedTypenull or empty)TeiidExtendedType.extendedType()public boolean isValid(String proposedExtendedType)
isValid in interface TeiidExtendedTypeproposedExtendedType - the type being checked (can be null or empty)true if the parameter is a valid extended type of a VDB manifest artifactTeiidExtendedType.isValid(java.lang.String)Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.