Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.lifecycle.datamgmt
Class SnapshotContext

java.lang.Object
  extended by oracle.security.opss.lifecycle.datamgmt.SnapshotContext


public class SnapshotContext
extends java.lang.Object

Specify location to create snapshot: location/instanceId if no identifier is specified, timestamp is used


Constructor Summary
SnapshotContext(java.io.File rootDir, java.lang.String instanceId, java.lang.Object svcContext, boolean apply)
          Construct a context object to hold the information necessary for creating a snapshot of all registered artifacts.

 

Method Summary
 java.lang.Object getContext()
           
 java.io.File getLocation()
           
 void setArtifactIdentifier(ArtifactType type, java.lang.String identifier)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SnapshotContext

public SnapshotContext(java.io.File rootDir,
                       java.lang.String instanceId,
                       java.lang.Object svcContext,
                       boolean apply)
                throws SnapshotException
Construct a context object to hold the information necessary for creating a snapshot of all registered artifacts. Versioning is automatic and uses current system timestamp
Parameters:
rootDir - root directory for snapshots. A null value implies current directory
instanceId - directory location relative to rootDir/i> for this instance of the snapshot. A null or empty string will create snapshot in rootDir.
svcContext - any service context to be passed to the Snapshot instance
apply - true if context used during apply, false if used during create
Throws:
SnapshotException

Method Detail

setArtifactIdentifier

public void setArtifactIdentifier(ArtifactType type,
                                  java.lang.String identifier)

getLocation

public java.io.File getLocation()
Returns:
the location

getContext

public java.lang.Object getContext()
Returns:
the svcContext

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.