Package | away3d.library.naming |
Class | public class ConflictStrategy |
Inheritance | ConflictStrategy Object |
AssetLibrary.conflictPrecedence
property defines which
of the conflicting assets will get to keep it's name, and which is renamed (if any.)
See also
Constant | Defined By | ||
---|---|---|---|
APPEND_NUM_SUFFIX : ConflictStrategyBase [static]
Specifies that in case of a naming conflict, one of the assets will be renamed and
a numeric suffix appended to the base name. | ConflictStrategy | ||
IGNORE : ConflictStrategyBase [static]
Specifies that naming conflicts should be ignored. | ConflictStrategy | ||
THROW_ERROR : ConflictStrategyBase [static]
Specifies that an error should be thrown if a naming conflict is discovered. | ConflictStrategy |
APPEND_NUM_SUFFIX | Constant |
public static const APPEND_NUM_SUFFIX:ConflictStrategyBase
Specifies that in case of a naming conflict, one of the assets will be renamed and a numeric suffix appended to the base name.
IGNORE | Constant |
public static const IGNORE:ConflictStrategyBase
Specifies that naming conflicts should be ignored. This is not recommended in most cases, unless it can be 100% guaranteed that the application does not cause naming conflicts in the library (i.e. when an app-level system is in place to prevent this.)
THROW_ERROR | Constant |
public static const THROW_ERROR:ConflictStrategyBase
Specifies that an error should be thrown if a naming conflict is discovered. Use this to be 100% sure that naming conflicts never occur unnoticed, and when it's undesirable to have the library automatically rename assets to avoid such conflicts.