public enum AssetSupportedOption extends java.lang.Enum<AssetSupportedOption>
Enum Constant and Description |
---|
NEW_ASSET |
NEW_VERSION |
OVERWRITE |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<AssetSupportedOption> |
getOptionsForAsset(java.lang.String typeId)
This method returns the possible options supported for an asset for a given type id.
|
static java.util.Collection<AssetSupportedOption> |
getOptionsForAttach(java.lang.String typeId)
Get the supported options for attaching files to an asset for a given type id.
|
static AssetSupportedOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssetSupportedOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetSupportedOption NEW_ASSET
public static final AssetSupportedOption NEW_VERSION
public static final AssetSupportedOption OVERWRITE
public static AssetSupportedOption[] values()
for (AssetSupportedOption c : AssetSupportedOption.values()) System.out.println(c);
public static AssetSupportedOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Collection<AssetSupportedOption> getOptionsForAsset(java.lang.String typeId) throws CLLException
typeId
- The type id of the assetCollection
of AssetSupportedOption
enumerations giving the supported optionsCLLException
- If an error occurs while collecting the supported optionspublic static java.util.Collection<AssetSupportedOption> getOptionsForAttach(java.lang.String typeId) throws CLLException
typeId
- The type id of the asset.Collection
of AssetSupportedOption
sCLLException
- If CLL fails to get the supported options for attach