org.teiid.adminapi
Interface AdminOptions.OnConflict

Enclosing class:
AdminOptions

public static interface AdminOptions.OnConflict

In the case when adding resource to the system, if the resource already exists in the system, these modes define how to handle the situation.


Field Summary
static int EXCEPTION
          If there is conflict in the bindings then return with an exception
static int IGNORE
          Don't add any existing bindings contained in this file (don't update/replace ones that already exist).
static int OVERWRITE
          Add all bindings in this file and overwrite any bindings that already exist in the system.
 

Field Detail

OVERWRITE

static final int OVERWRITE
Add all bindings in this file and overwrite any bindings that already exist in the system.

NOTE: This will result in a VDB with a status of VDB.INACTIVE or VDB.ACTIVE.

See Also:
Constant Field Values

IGNORE

static final int IGNORE
Don't add any existing bindings contained in this file (don't update/replace ones that already exist). This will not keep any new bindings specified from being added.

NOTE: This will result in a VDB with a status of VDB.INACTIVE or VDB.ACTIVE.

See Also:
Constant Field Values

EXCEPTION

static final int EXCEPTION
If there is conflict in the bindings then return with an exception

NOTE: This will result in a VDB with a status of VDB.INCOMPLETE if all models in the VDB are not bound.

See Also:
Constant Field Values


Copyright © 2009. All Rights Reserved.