public class ApplySnapshotDeltaTask extends SessionedTask<java.lang.Void>
| Constructor and Description |
|---|
ApplySnapshotDeltaTask(SnapshotDelta<CanonicalResource,CanonicalDelta> canonicalDelta, Digest.DigestComputationStyle digestComputationStyle) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Void |
_execute()
Subclasses implement this method
|
static void |
apply(ConfigService configService, java.lang.String session, SnapshotDelta<CanonicalResource,CanonicalDelta> canonicalDelta, Digest.DigestComputationStyle digestComputationStyle)
Applies the given canonical snapshot delta to the given session or core
|
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic ApplySnapshotDeltaTask(SnapshotDelta<CanonicalResource,CanonicalDelta> canonicalDelta, Digest.DigestComputationStyle digestComputationStyle)
public static void apply(ConfigService configService, java.lang.String session, SnapshotDelta<CanonicalResource,CanonicalDelta> canonicalDelta, Digest.DigestComputationStyle digestComputationStyle) throws java.lang.Exception
configService - the config servicesession - the session to work on.canonicalDelta - The canonical representation of the deltadigestComputationStyle - the algorithm to use when computing the new digests.java.lang.ExceptionDigest.DigestComputationStyleprotected java.lang.Void _execute()
throws java.lang.Exception
SessionedTask_execute in class SessionedTask<java.lang.Void>java.lang.Exception