Cumulus4j API
(1.2.0-SNAPSHOT)

org.cumulus4j.store.datastoreversion.command
Class MigrateToSequence2

java.lang.Object
  extended by org.cumulus4j.store.datastoreversion.AbstractDatastoreVersionCommand
      extended by org.cumulus4j.store.datastoreversion.command.MigrateToSequence2
All Implemented Interfaces:
DatastoreVersionCommand

public class MigrateToSequence2
extends AbstractDatastoreVersionCommand


Constructor Summary
MigrateToSequence2()
           
 
Method Summary
 void apply(CommandApplyParam commandApplyParam)
          Perform the upgrade or do whatever this command has to do.
 int getCommandVersion()
          Get the version of this command.
 
Methods inherited from class org.cumulus4j.store.datastoreversion.AbstractDatastoreVersionCommand
getCommandID, isFinal, isKeyStoreDependent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrateToSequence2

public MigrateToSequence2()
Method Detail

getCommandVersion

public int getCommandVersion()
Description copied from interface: DatastoreVersionCommand
Get the version of this command.

This version must be incremented, if this command is modified!

Note, that a final command cannot be modified!!! You can only modify a final command if this command was newly introduced in the current SNAPSHOT. Never modify a command after it was released!!!

Returns:
the version of this command.

apply

public void apply(CommandApplyParam commandApplyParam)
Description copied from interface: DatastoreVersionCommand
Perform the upgrade or do whatever this command has to do.

Parameters:
commandApplyParam - various arguments bundled for better compatibility with future extensions. Never null.

Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.