public enum CatalogingFlag extends java.lang.Enum<CatalogingFlag>
ItemCollection.catalogAsset(com.canto.cumulus.Asset,
String, String, java.util.EnumSet, com.canto.cumulus.events.CatalogingListener)
or one of the other cataloging methods. These option flags override the
settings of the used asset handling set or the user setting for counting assets. Usually you don't need to use these flags.Enum Constant and Description |
---|
CATALOGING_FLAG_SKIP_COUNTING_ASSETS
Do not count assets.
|
CATALOGING_FLAG_SKIP_FILTERS
Skip all available filters when cataloging.
|
CATALOGING_FLAG_SKIP_SUBASSETS
Do not catalog sub assets.
|
CATALOGING_FLAG_SKIP_TRY_TO_CHECKIN
Do not try to checkin the asset.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<CatalogingFlag> |
findAll(int id)
Finds all flags that are encoded into the given id.
|
static CatalogingFlag |
findType(int id)
Finds the exact flag for the given flag id or throws an exception if the given id is invalid.
|
static int |
getAll(java.util.EnumSet<CatalogingFlag> flags)
Encodes the given set of flags into a single id.
|
static CatalogingFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CatalogingFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogingFlag CATALOGING_FLAG_SKIP_FILTERS
public static final CatalogingFlag CATALOGING_FLAG_SKIP_SUBASSETS
public static final CatalogingFlag CATALOGING_FLAG_SKIP_COUNTING_ASSETS
public static final CatalogingFlag CATALOGING_FLAG_SKIP_TRY_TO_CHECKIN
public static CatalogingFlag[] values()
for (CatalogingFlag c : CatalogingFlag.values()) System.out.println(c);
public static CatalogingFlag 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 CatalogingFlag findType(int id)
id
- wanted id of the flag to findpublic static java.util.EnumSet<CatalogingFlag> findAll(int id)
id
- flag containing multiple cataloging flag valuesgetAll(java.util.EnumSet)
public static int getAll(java.util.EnumSet<CatalogingFlag> flags)
flags
- flags to encodefindAll(int)
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.